[SOLVED] Fatal Error after 1.6.4 upgrade

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
User avatar
sam@moosepondarts.com
Forum Members
Forum Members
Posts: 12
Joined: Tue Aug 25, 2009 5:37 pm

[SOLVED] Fatal Error after 1.6.4 upgrade

Post 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
Last edited by sam@moosepondarts.com on Tue Sep 01, 2009 7:27 pm, edited 1 time in total.
User avatar
sam@moosepondarts.com
Forum Members
Forum Members
Posts: 12
Joined: Tue Aug 25, 2009 5:37 pm

Re: Fatal Error after 1.6.4 upgrade

Post 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
Pierre M.

Re: Fatal Error after 1.6.4 upgrade

Post 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.
openmtl
Forum Members
Forum Members
Posts: 16
Joined: Sat Jul 07, 2007 11:26 am

Re: Fatal Error after 1.6.4 upgrade

Post 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======
User avatar
sam@moosepondarts.com
Forum Members
Forum Members
Posts: 12
Joined: Tue Aug 25, 2009 5:37 pm

Re: Fatal Error after 1.6.4 upgrade

Post 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

----------------------------------------------
User avatar
sam@moosepondarts.com
Forum Members
Forum Members
Posts: 12
Joined: Tue Aug 25, 2009 5:37 pm

Re: Fatal Error after 1.6.4 upgrade

Post 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.
Pierre M.

Re: Fatal Error after 1.6.4 upgrade

Post 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.
User avatar
sam@moosepondarts.com
Forum Members
Forum Members
Posts: 12
Joined: Tue Aug 25, 2009 5:37 pm

Re: Fatal Error after 1.6.4 upgrade

Post 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?
Pierre M.

Re: Fatal Error after 1.6.4 upgrade

Post 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.
User avatar
sam@moosepondarts.com
Forum Members
Forum Members
Posts: 12
Joined: Tue Aug 25, 2009 5:37 pm

Re: Fatal Error after 1.6.4 upgrade

Post 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?
Last edited by sam@moosepondarts.com on Mon Aug 31, 2009 6:11 pm, edited 1 time in total.
User avatar
sam@moosepondarts.com
Forum Members
Forum Members
Posts: 12
Joined: Tue Aug 25, 2009 5:37 pm

Re: Fatal Error after 1.6.4 upgrade

Post 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. >:(
Pierre M.

Re: Fatal Error after 1.6.4 upgrade

Post 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.
User avatar
sam@moosepondarts.com
Forum Members
Forum Members
Posts: 12
Joined: Tue Aug 25, 2009 5:37 pm

[SOLVED] Re: Fatal Error after 1.6.4 upgrade

Post 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
Pierre M.

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

Post 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.
Locked

Return to “[locked] Installation, Setup and Upgrade”