Hi All,
I keep finding this error in my logs.
PHP Warning: filemtime() [function.filemtime]: stat failed for /hermes/bosweb/web060/b607/sl.calbever/public_html/tmp/templates_c/%%97^97E^97ECB234%%template%3A26.php in /hermes/bosweb/web060/b607/sl.calbever/public_html/lib/smarty/Smarty.class.php on line 1410
My root directory is: /home/users/web/b607/sl.calbever/public_html/
My old root directory is: /hermes/bosweb/web060/b607/sl.calbever/public_html/
tmp:
/home/users/web/b607/sl.calbever/public_html/tmp (0755)
templates_c:
/hermes/bosweb/web060/b607/sl.calbever/public_html/tmp/templates_c (0755)
modules:
/home/users/web/b607/sl.calbever/public_html/modules (0755)
File Creation Mask (umask):
/hermes/bosweb/web060/b607/sl.calbever/public_html/tmp/cache (0755)
I'm not sure why it's not showing the new root path and I have no idea where/how I can fix it. The site works fine, but I'd like to get rid of the error nonetheless.
Any help or guidance is greatly appreciated.
Peter
Server Settings
Re: Server Settings
Clear your site cache. Edit your config.php file you probably have some bad settings, or run the install script with the database options turned off.
But as always backup your site first to be on the safe side.
But as always backup your site first to be on the safe side.
Re: Server Settings
You can adapt this config file. It is based on standart configuration, and assumes config.php is in root folder.
For example, instead of setting absolute uploads path and url it calculates them as follows:
You will have to set "root_url" and DB connection params and may be some other options.
EDIT
this config is for urls like "http://sitename.com/index.php?page=page-name" and
not for "http://sitename.com/page-name"
For example, instead of setting absolute uploads path and url it calculates them as follows:
Code: Select all
$config['uploads_path'] = $config['root_path'].'/uploads';
$config['uploads_url'] = $config['root_url'] . '/uploads';
EDIT
this config is for urls like "http://sitename.com/index.php?page=page-name" and
not for "http://sitename.com/page-name"
- Attachments
-
[The extension txt has been deactivated and can no longer be displayed.]
Last edited by Peciura on Wed Dec 23, 2009 8:44 pm, edited 1 time in total.
Re: Server Settings
I tried this earlier and didn't have any luck, that's one reason I posted.ajprog wrote: Clear your site cache. Edit your config.php file you probably have some bad settings, or run the install script with the database options turned off.
But as always backup your site first to be on the safe side.
I did this, but the situation hasn't changed. Is any of the server information for templaces_c or file create mask held in the database?Peciura wrote: You can adapt this config file. It is based on standart configuration, and assumes config.php is in root folder.
For example, instead of setting absolute uploads path and url it calculates them as follows:You will have to set "root_url" and DB connection params and may be some other options.Code: Select all
$config['uploads_path'] = $config['root_path'].'/uploads'; $config['uploads_url'] = $config['root_url'] . '/uploads';
Re: Server Settings
Peciura,pgwalsh wrote:I tried this earlier and didn't have any luck, that's one reason I posted.ajprog wrote: Clear your site cache. Edit your config.php file you probably have some bad settings, or run the install script with the database options turned off.
But as always backup your site first to be on the safe side.
I did this, but the situation hasn't changed. Is any of the server information for templaces_c or file create mask held in the database?Peciura wrote: You can adapt this config file. It is based on standart configuration, and assumes config.php is in root folder.
For example, instead of setting absolute uploads path and url it calculates them as follows:You will have to set "root_url" and DB connection params and may be some other options.Code: Select all
$config['uploads_path'] = $config['root_path'].'/uploads'; $config['uploads_url'] = $config['root_url'] . '/uploads';
Thank you, this stopped the error from occurring, but it still lists the same url in System information.
Now I have another error, but it's not part of the core, it's related to link manager
Last edited by pgwalsh on Mon Oct 26, 2009 2:27 am, edited 1 time in total.