Hola!
Muchas gracias por contestar tan rápido...
Efectivamente, he encontrado en la línea 589 la sentencia que pone:
symlink($path, $name);
y le he añadido como dices la @ al principio:
@symlink($path, $name);
pero sigo obteniendo el mismo resultado...
Ejecutándolo en modo debug, no obtengo esta vez ningún error pero al
volver a entrar, en vez de salirme la pantalla de 'Ooops, an
error...', me sale algo así:
500 | Internal Server Error | PropelException
[wrapped: SQLSTATE[42S02]: Base table or view not found: 1146 Table
'ivm.object' doesn't exist]
stack trace
* at ()
in SF_SYMFONY_LIB_DIR\plugins\sfPropelPlugin\lib\vendor\propel
\util\BasePeer.php line 467 ...
464. if ($stmt) $stmt = null; // close
465. if ($criteria->isUseTransaction()) $con-
>rollBack();
466. Propel::log($e->getMessage(),
Propel::LOG_ERR);
467. throw new PropelException($e);
468. }
469.
470. return $stmt;
* at BasePeer::doSelect(object('Criteria'))
in C:\wamp\www\lib\QubitQuery.class.php line 73 ...
70. }
71. $sorted = true;
72.
73. $this->statement = BasePeer::doSelect($this-
>criteria);
74. }
75.
76. // TODO Determine whether the sort order matches
the previous sort order
* at QubitQuery->getStatement(object('QubitQuery'))
in C:\wamp\www\lib\QubitQuery.class.php line 110 ...
107.
108. if (isset($this->criteria))
109. {
110. list ($this->statement, $sorted) = $this-
>getStatement($leaf);
111.
112. while ($row = $this->statement->fetch())
113. {
* at QubitQuery->getObjects(object('QubitQuery'))
in C:\wamp\www\lib\QubitQuery.class.php line 197 ...
194. return $this->objects;
195. }
196.
197. list ($objects, $sorted) = $this-
>getObjects($this);
198.
199. if (isset($this->objects[$name]))
200. {
* at QubitQuery->__get(0)
in C:\wamp\www\lib\QubitResourceRoute.class.php line 28 ...
25. $criteria->add(QubitSlug::SLUG,
$params['slug']);
26. $criteria->addJoin(QubitSlug::OBJECT_ID,
QubitObject::ID);
27.
28. $this->resource = QubitObject::get($criteria)-
>__get(0);
29. if (!isset($this->resource))
30. {
31. throw new sfError404Exception;
* at QubitResourceRoute->bind(array('path_info' => '/', 'prefix'
=> '/index.php', 'method' => 'GET', 'format' => null, 'host' =>
'localhost', 'is_secure' => , 'request_uri' => '
http://localhost/'),
array('module' => 'staticpage', 'action' => 'index', 'slug' =>
'home'))
in SF_SYMFONY_LIB_DIR\routing\sfPatternRouting.class.php line
372 ...
369.
370. $this->ensureDefaultParametersAreSet();
371.
372. $route->bind($this->options['context'],
$info['parameters']);
373. $info['parameters']['_sf_route'] = $route;
374.
375. return $info['parameters'];
* at sfPatternRouting->parse('/')
in C:\wamp\www\cache\qubit\prod\config\config_factories.yml.php
line 91 ...
88. 'extra_parameters_as_query_string' => true,
89. 'cache' => NULL,
90. ))));
91. if ($parameters = $this->factories['routing']-
>parse($this->factories['request']->getPathInfo()))
92. {
93. $this->factories['request']-
>addRequestParameters($parameters);
94. }
* at require('C:\wamp\www\cache\qubit\prod\config
\config_factories.yml.php')
in SF_SYMFONY_LIB_DIR\util\sfContext.class.php line 155 ...
152. }
153.
154. // include the factories configuration
155. require($this->configuration->getConfigCache()-
>checkConfig('config/factories.yml'));
156.
157. $this->dispatcher->notify(new sfEvent($this,
'context.load_factories'));
158.
* at sfContext->loadFactories()
in SF_SYMFONY_LIB_DIR\util\sfContext.class.php line 77 ...
74.
75. try
76. {
77. $this->loadFactories();
78. }
79. catch (sfException $e)
80. {
* at sfContext->initialize(object('qubitConfiguration'))
in SF_SYMFONY_LIB_DIR\util\sfContext.class.php line 60 ...
57. throw new sfFactoryException(sprintf('Class
"%s" is not of the type sfContext.', $class));
58. }
59.
60. self::$instances[$name]-
>initialize($configuration);
61.
62. return self::$instances[$name];
63. }
* at sfContext::createInstance(object('qubitConfiguration'))
in C:\wamp\www\index.php line 6 ...
3. require_once(dirname(__FILE__).'/config/
ProjectConfiguration.class.php');
4.
5. $configuration =
ProjectConfiguration::getApplicationConfiguration('qubit', 'prod',
true);
6. sfContext::createInstance($configuration)-
>dispatch();
7.
symfony settings ...
sf_admin_module_web_dir: /sfPropelPlugin
sf_admin_web_dir: /sf/sf_admin
sf_app: qubit
sf_app_base_cache_dir: 'C:/wamp/www/cache\qubit'
sf_app_cache_dir: 'C:/wamp/www/cache\qubit\prod'
sf_app_config_dir: 'C:/wamp/www/apps\qubit\config'
sf_app_dir: 'C:/wamp/www/apps\qubit'
sf_app_i18n_dir: 'C:/wamp/www/apps\qubit\i18n'
sf_app_lib_dir: 'C:/wamp/www/apps\qubit\lib'
sf_app_module_dir: 'C:/wamp/www/apps\qubit\modules'
sf_app_template_dir: 'C:/wamp/www/apps\qubit\templates'
sf_apps_dir: 'C:/wamp/www/apps'
sf_cache: false
sf_cache_dir: 'C:/wamp/www/cache'
sf_charset: utf-8
sf_check_lock: false
sf_compressed: false
sf_config_cache_dir: 'C:/wamp/www/cache\qubit\prod\config'
sf_config_dir: 'C:/wamp/www/config'
sf_csrf_secret: false
sf_data_dir: 'C:/wamp/www/data'
sf_debug: true
sf_default_culture: en
sf_enabled_modules:
- default
- aclGroup
- sfThemePlugin
- sfTranslatePlugin
- sfInstallPlugin
- sfPluginAdminPlugin
sf_environment: prod
sf_error_404_action: error404
sf_error_404_module: admin
sf_error_reporting: 341
sf_escaping_method: ESC_SPECIALCHARS
sf_escaping_strategy: false
sf_etag: true
sf_file_link_format: null
sf_i18n: true
sf_i18n_cache_dir: 'C:/wamp/www/cache\qubit\prod\i18n'
sf_lib_dir: 'C:/wamp/www/lib'
sf_log_dir: 'C:/wamp/www/log'
sf_logging_enabled: false
sf_login_action: login
sf_login_module: user
sf_module_cache_dir: 'C:/wamp/www/cache\qubit\prod\modules'
sf_module_disabled_action: disabled
sf_module_disabled_module: admin
sf_no_script_name: false
sf_orm: propel
sf_plugins_dir: 'C:/wamp/www/plugins'
sf_root_dir: 'C:/wamp/www'
sf_secure_action: secure
sf_secure_module: admin
sf_standard_helpers:
- Partial
- Cache
- I18N
- Qubit
sf_symfony_lib_dir: 'C:\wamp\www\vendor\symfony\lib'
sf_template_cache_dir: 'C:/wamp/www/cache\qubit\prod\template'
sf_test_cache_dir: 'C:/wamp/www/cache\qubit\prod\test'
sf_test_dir: 'C:/wamp/www/test'
sf_upload_dir: 'C:/wamp/www/uploads'
sf_use_database: true
sf_web_debug: false
sf_web_debug_web_dir: /sf/sf_web_debug
sf_web_dir: 'C:/wamp/www'
request ...
options:
path_info_key: PATH_INFO
path_info_array: SERVER
http_port: null
https_port: null
default_format: null
logging: ''
relative_url_root: null
formats: { txt: text/plain, js: [application/javascript, application/
x-javascript, text/javascript], css: text/css, json: [application/
json, application/x-json], xml: [text/xml, application/xml,
application/x-xml], rdf: application/rdf+xml, atom: application/atom
+xml }
no_script_name: false
parameterHolder: { }
attributeHolder: { }
response ...
status:
code: 500
text: 'Internal Server Error'
options:
http_protocol: HTTP/1.1
logging: ''
charset: utf-8
send_http_headers: true
content_type: 'text/html; charset=utf-8'
cookies: { }
httpHeaders:
Content-Type: 'text/html; charset=utf-8'
javascripts: { }
stylesheets: { }
metas: { }
httpMetas: { }
user ...
{ }
global vars ...
cookie: { }
env: { }
files: { }
get: { }
post: { }
server:
COMSPEC: 'C:\WINDOWS\system32\cmd.exe'
DOCUMENT_ROOT: 'C:/wamp/www/'
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/
xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_CHARSET: 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_ACCEPT_ENCODING: 'gzip,deflate'
HTTP_ACCEPT_LANGUAGE: 'es-es,es;q=0.8,en-us;q=0.5,en;q=0.3'
HTTP_CONNECTION: keep-alive
HTTP_HOST: localhost
HTTP_KEEP_ALIVE: '115'
HTTP_USER_AGENT: 'Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:
1.9.2.13) Gecko/20101203 Firefox/3.6.13'
PATH: 'C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem'
PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PHP_SELF: /index.php
QUERY_STRING: ''
REMOTE_ADDR: 127.0.0.1
REMOTE_PORT: '2371'
REQUEST_METHOD: GET
REQUEST_TIME: 1295970928
REQUEST_URI: /
SCRIPT_FILENAME: 'C:/wamp/www/index.php'
SCRIPT_NAME: /index.php
SERVER_ADDR: 127.0.0.1
SERVER_ADMIN: admin@localhost
SERVER_NAME: localhost
SERVER_PORT: '80'
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE: ''
SERVER_SOFTWARE: 'Apache/2.2.17 (Win32) PHP/5.3.5'
SystemRoot: 'C:\WINDOWS'
WINDIR: 'C:\WINDOWS'
symfony v.1.4.9-DEV - php 5.3.5
for help resolving this issue, please visit
http://www.symfony-project.org/.
¿La idea es que no se ejecute dicha función para así evitar el error?
Porque parece ser según he estado leyendo, que es por una
imcompatibilidad con uina versión de PHP ¿No se podría quitar la
línea?
Gracias de nuevo y espero respuesta...
Un saludo.
Adrián.
> On Tue, Jan 25, 2011 at 2:11 PM, ksanya <
adria...@ono.com> wrote:
> > Por tu nombre diría que hablas castellano. Te contesto en este idioma
> > pues, si no te importa...
>
> Claro que no me importa, además ya somos unos cuantos hispanohablantes por
> aquí, :-).
>
> > ( ! ) Fatal error: Call to undefined function symlink() in C:\wamp\www
> > \plugins\sfInstallPlugin\lib\sfInstall.class.php on line 589
>
> Este problema fue solucionado hace unas pocas semana por David (echa un
> vistazo al issue
> 1908<
http://code.google.com/p/qubit-toolkit/issues/detail?id=1908>)