Server Settings

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
pgwalsh
Forum Members
Forum Members
Posts: 45
Joined: Sun Mar 22, 2009 11:36 pm

Server Settings

Post by pgwalsh »

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
My Folding Widget: F@H WUdget
What! You're not folding? Folding@Home
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: Server Settings

Post by Jeff »

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.
Peciura

Re: Server Settings

Post by Peciura »

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:

Code: Select all

$config['uploads_path'] = $config['root_path'].'/uploads';
$config['uploads_url'] = $config['root_url'] . '/uploads';
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"
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.
User avatar
pgwalsh
Forum Members
Forum Members
Posts: 45
Joined: Sun Mar 22, 2009 11:36 pm

Re: Server Settings

Post by pgwalsh »

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 tried this earlier and didn't have any luck, that's one reason I posted.
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:

Code: Select all

$config['uploads_path'] = $config['root_path'].'/uploads';
$config['uploads_url'] = $config['root_url'] . '/uploads';
You will have to set "root_url" and DB connection params and may be some other options.
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?
My Folding Widget: F@H WUdget
What! You're not folding? Folding@Home
User avatar
pgwalsh
Forum Members
Forum Members
Posts: 45
Joined: Sun Mar 22, 2009 11:36 pm

Re: Server Settings

Post by pgwalsh »

pgwalsh wrote:
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 tried this earlier and didn't have any luck, that's one reason I posted.
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:

Code: Select all

$config['uploads_path'] = $config['root_path'].'/uploads';
$config['uploads_url'] = $config['root_url'] . '/uploads';
You will have to set "root_url" and DB connection params and may be some other options.
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,

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.
My Folding Widget: F@H WUdget
What! You're not folding? Folding@Home
Peciura

Re: Server Settings

Post by Peciura »

Can you please post complete "System Information".
Post Reply

Return to “CMSMS Core”