Page 1 of 1

[SOLVED] Fatal Error after 1.6.4 upgrade

Posted: Tue Aug 25, 2009 6:04 pm
by sam@moosepondarts.com
Fatal error: Call to undefined function: is_sitedown() in /home/domains/masterloggercertification.com/docs/cmswebsite/index.php on line 382

Error on http://masterloggercertification.com/cmswebsite/ after upgrading to 1.6.4 (error is on the bottom of every page.)

Please help.

Thanks in advance,
sam

Re: Fatal Error after 1.6.4 upgrade

Posted: Wed Aug 26, 2009 1:03 pm
by sam@moosepondarts.com
I also get these two errors when I go to "pages".


Warning: main(/home/domains/masterloggercertification.com/docs/cmswebsite/lib/xajax/xajax_core/xajax.inc.php): failed to open stream: No such file or directory in /home/domains/masterloggercertification.com/docs/cmswebsite/admin/listcontent.php on line 36

Fatal error: main(): Failed opening required '/home/domains/masterloggercertification.com/docs/cmswebsite/lib/xajax/xajax_core/xajax.inc.php' (include_path='.:/usr/share/pear') in /home/domains/masterloggercertification.com/docs/cmswebsite/admin/listcontent.php on line 36

Re: Fatal Error after 1.6.4 upgrade

Posted: Wed Aug 26, 2009 5:43 pm
by Pierre M.
Hello,
sam@moosepondarts.com wrote: Fatal error: Call to undefined function: ....php on line 382
Does the troubleshooting section of the documentation help ?

About your second post in this thread :
Can your run System Info ? How is System Verification ?
With CMSms 1.6.x PHP>=5.3 is not supported.

Pierre M.

Re: Fatal Error after 1.6.4 upgrade

Posted: Mon Aug 31, 2009 9:05 am
by openmtl
sam@moosepondarts.com wrote: Fatal error: Call to undefined function: is_sitedown() in /home/domains/masterloggercertification.com/docs/cmswebsite/index.php on line 382

Error on http://masterloggercertification.com/cmswebsite/ after upgrading to 1.6.4 (error is on the bottom of every page.)

Please help.

Thanks in advance,
sam
Can you check that the config.php has the correct root_url and root_path. I don't think it has because on the front page the sit map and admin links miss the "cmswebsite" bit and so end up with 404 errors.

Plus also make all the other upload and cache entries match the path too.....

======snip======

$config['root_url'] = 'http://masterloggercertification.com/cmswebsite';
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on')
{
$config['root_url'] = str_replace('http','https',$config['root_url']);
}

#Path to document root. This should be the directory this file is in.
#e.g. /var/www/localhost
$config['root_path'] = '/home/domains/masterloggercertification.com/docs/cmswebsite';


=====snip======

Re: Fatal Error after 1.6.4 upgrade

Posted: Mon Aug 31, 2009 1:53 pm
by sam@moosepondarts.com
Below is the system info:

----------------------------------------------

Cms Version: 1.6.4

Installed Modules:

CMSMailer: 1.73.14
FileManager: 1.0.1
MenuManager: 1.6.1
ModuleManager: 1.3.1
News: 2.10.2
nuSOAP: 1.0.1
Printing: 1.0.2
ThemeManager: 1.1.0
TinyMCE: 2.5.1

Config Information:

php_memory_limit:
process_whole_template: true
max_upload_size: 99000000
default_upload_permission: 664
assume_mod_rewrite: false
page_extension:
internal_pretty_urls: false
use_hierarchy: false

Php Information:

phpversion: 4.3.9
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
memory_limit: 100M
max_execution_time: 30
safe_mode: Off (False)
session_save_path: /var/lib/php/session (0770)

Server Information:

Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 4.1.22

----------------------------------------------

Re: Fatal Error after 1.6.4 upgrade

Posted: Mon Aug 31, 2009 1:59 pm
by sam@moosepondarts.com
openmtl wrote: Can you check that the config.php has the correct root_url and root_path. I don't think it has because on the front page the sit map and admin links miss the "cmswebsite" bit and so end up with 404 errors.

Plus also make all the other upload and cache entries match the path too.....

======snip======

$config['root_url'] = 'http://masterloggercertification.com/cmswebsite';
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on')
{
$config['root_url'] = str_replace('http','https',$config['root_url']);
}

#Path to document root. This should be the directory this file is in.
#e.g. /var/www/localhost
$config['root_path'] = '/home/domains/masterloggercertification.com/docs/cmswebsite';


=====snip======
Yes, I have checked the paths in the config file.

The links that don't work now, will when the site is launched and the config file will be redone to not include the "cmswebsite" folder.

Re: Fatal Error after 1.6.4 upgrade

Posted: Mon Aug 31, 2009 4:10 pm
by Pierre M.
Hello again,
sam@moosepondarts.com wrote: (error is on the bottom of every page.)
Could you narrow it with some markers in the templates ? Does it reside in some GCB footer ?
BTW, troubleshoot with System Verification.

Pierre M.

Re: Fatal Error after 1.6.4 upgrade

Posted: Mon Aug 31, 2009 4:56 pm
by sam@moosepondarts.com
Pierre M. wrote: Hello again,

Could you narrow it with some markers in the templates ? Does it reside in some GCB footer ?
BTW, troubleshoot with System Verification.

Pierre M.
Doesn't reside in the footer.

Checksum Verification below:

4 Files Not found
Files Not found:
') !== FALSE )
',$line,2);
',$line,2);
{$file}\n";

Not sure what this means though.
Any thoughs?

Re: Fatal Error after 1.6.4 upgrade

Posted: Mon Aug 31, 2009 5:39 pm
by Pierre M.
sam@moosepondarts.com wrote: Checksum Verification below:

4 Files Not found
Files Not found:
') !== FALSE )
',$line,2);
',$line,2);
{$file}\n";
Strange filenames, don't you think ? You'd recheck uploads and hosting.

Pierre M.

Re: Fatal Error after 1.6.4 upgrade

Posted: Mon Aug 31, 2009 5:53 pm
by sam@moosepondarts.com
Pierre M. wrote:
Strange filenames, don't you think ? You'd recheck uploads and hosting.

Pierre M.
Yes, seems to be something weird.

I re-uploaded all files from "cmsmadesimple-full-diff-1.6.3-1.6.4"
No change in verification or errors on website.

What should I ask the hosting company?

Re: Fatal Error after 1.6.4 upgrade

Posted: Mon Aug 31, 2009 7:38 pm
by sam@moosepondarts.com
sam@moosepondarts.com wrote: I also get these two errors when I go to "pages".


Warning: main(/home/domains/masterloggercertification.com/docs/cmswebsite/lib/xajax/xajax_core/xajax.inc.php): failed to open stream: No such file or directory in /home/domains/masterloggercertification.com/docs/cmswebsite/admin/listcontent.php on line 36

Fatal error: main(): Failed opening required '/home/domains/masterloggercertification.com/docs/cmswebsite/lib/xajax/xajax_core/xajax.inc.php' (include_path='.:/usr/share/pear') in /home/domains/masterloggercertification.com/docs/cmswebsite/admin/listcontent.php on line 36
FYI - I just resolved this issue by replacing the "listcontent.php" and "editcontent.php" in the admin folder from a backup done prior to the upgrade. :)  Other issue still unresolved. >:(

Re: Fatal Error after 1.6.4 upgrade

Posted: Tue Sep 01, 2009 5:43 pm
by Pierre M.
I use FileZilla or SSH for file transfers.

Let's restart from a clean Checksum Verification.
If it is OK, support needs System Info, info from logS and reproducible issue description.

Pierre M.

[SOLVED] Re: Fatal Error after 1.6.4 upgrade

Posted: Tue Sep 01, 2009 7:25 pm
by sam@moosepondarts.com
Well I got it working... don't know if it's the correct way, but it's working.

I replaced the "index.php" file with the one from my backup done before upgrading, from v1.5.2.

Everything is happy and working fine now.

Thanks for all the input.

Happy programming,
sam

Re: [SOLVED] Re: Fatal Error after 1.6.4 upgrade

Posted: Wed Sep 02, 2009 4:25 pm
by Pierre M.
Hello again,
sam@moosepondarts.com wrote: I replaced the "index.php" file with the one from my backup done before upgrading, from v1.5.2.
I don't know if this specific file has changed from 1.5 to 1.6 but mixing files from several releases is a very bad idea. Please notice you are running an unsupported hacked version. You should use 1.6.latest-base to complete the upgrade properly and be OK with System Checksum.

Pierre M.