(solved)problem upgrade to 1.11.11 version from 1.11.02
(solved)problem upgrade to 1.11.11 version from 1.11.02
I got a 500 error when trying to run the install/upgrade.php file, after turned on the debug mode, this is the error I was getting:
Warning: require_once(/hermes/waloraweb018/b1905/as.hdeaa/lib/classes/class.cms_siteprefs.php): failed to open stream: Permission denied in /hermes/waloraweb018/b1905/as.hdeaa/lib/autoloader.php on line 39 Fatal error: require_once(): Failed opening required '/home/users/web/b1905/as.hdeaa/lib/classes/class.cms_siteprefs.php' (include_path='.:/usr/local/lib/php-5.3.13/lib/php') in /hermes/waloraweb018/b1905/as.hdeaa/lib/autoloader.php on line 39
The weired thing is that when I tried to do a new installation in a separate folder to see if the config file has problems, I still get the exact error message:
Warning: require_once(/hermes/waloraweb018/b1905/as.hdeaa/lib/classes/class.cms_siteprefs.php): failed to open stream: Permission denied in /hermes/waloraweb018/b1905/as.hdeaa/lib/autoloader.php on line 39 Fatal error: require_once(): Failed opening required '/home/users/web/b1905/as.hdeaa/lib/classes/class.cms_siteprefs.php' (include_path='.:/usr/local/lib/php-5.3.13/lib/php') in /hermes/waloraweb018/b1905/as.hdeaa/lib/autoloader.php on line 39
My php version is 5.3.13, and the old verson of my site (which worked fine except the cgcalendar won't recongnize the default display page ) was 1.11.02.
One other question I have is that, when I use a php script to detect my root path, it is: /home/users/web/b1905/as.hdeaa, but in the error message, it's /hermes/waloraweb018/b1905/as.hdeaa
Please help, really appreciated!
Warning: require_once(/hermes/waloraweb018/b1905/as.hdeaa/lib/classes/class.cms_siteprefs.php): failed to open stream: Permission denied in /hermes/waloraweb018/b1905/as.hdeaa/lib/autoloader.php on line 39 Fatal error: require_once(): Failed opening required '/home/users/web/b1905/as.hdeaa/lib/classes/class.cms_siteprefs.php' (include_path='.:/usr/local/lib/php-5.3.13/lib/php') in /hermes/waloraweb018/b1905/as.hdeaa/lib/autoloader.php on line 39
The weired thing is that when I tried to do a new installation in a separate folder to see if the config file has problems, I still get the exact error message:
Warning: require_once(/hermes/waloraweb018/b1905/as.hdeaa/lib/classes/class.cms_siteprefs.php): failed to open stream: Permission denied in /hermes/waloraweb018/b1905/as.hdeaa/lib/autoloader.php on line 39 Fatal error: require_once(): Failed opening required '/home/users/web/b1905/as.hdeaa/lib/classes/class.cms_siteprefs.php' (include_path='.:/usr/local/lib/php-5.3.13/lib/php') in /hermes/waloraweb018/b1905/as.hdeaa/lib/autoloader.php on line 39
My php version is 5.3.13, and the old verson of my site (which worked fine except the cgcalendar won't recongnize the default display page ) was 1.11.02.
One other question I have is that, when I use a php script to detect my root path, it is: /home/users/web/b1905/as.hdeaa, but in the error message, it's /hermes/waloraweb018/b1905/as.hdeaa
Please help, really appreciated!
Last edited by twen88 on Mon Sep 01, 2014 12:22 am, edited 1 time in total.
Re: problem during upgrade to 1.11.11 version from 1.11.02
As the error message said some files are not available or accessible.
Try to upload current CMSMS version again and stay secure your FTP program uses binary mode.
Maybe some files are corrupted on uploading.
How does your config.php looks like? Is there an entry with the wrong path?
Try to upload current CMSMS version again and stay secure your FTP program uses binary mode.
Maybe some files are corrupted on uploading.
How does your config.php looks like? Is there an entry with the wrong path?
Re: problem during upgrade to 1.11.11 version from 1.11.02
Hi Chandra, thanks for your response. I did noticed there were a few files skipped during my painfully file uploading process (the server doesn't have cpanel). But now after I reuploaded the files and tried to access the upgrade.php, I could no longer see the php error message but just a 500 server error page.
No, no path info on my config file, here it is:
<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysqli';
$config['db_hostname'] = 'mysql.com';
$config['db_username'] = 'xxxx';
$config['db_password'] = 'xxxx';
$config['db_name'] = 'cms';
$config['db_prefix'] = 'cms_';
$config['timezone'] = 'America/Toronto';
$config['show_base'] = false;
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
$config['use_hierarchy'] = true;
$config['debug'] = true;
?>
I wonder why I could no longer even see the error message while the debug mode is on, definitly there must be a php error somewhere? Any suggestion?
Thanks again for any input.
No, no path info on my config file, here it is:
<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysqli';
$config['db_hostname'] = 'mysql.com';
$config['db_username'] = 'xxxx';
$config['db_password'] = 'xxxx';
$config['db_name'] = 'cms';
$config['db_prefix'] = 'cms_';
$config['timezone'] = 'America/Toronto';
$config['show_base'] = false;
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
$config['use_hierarchy'] = true;
$config['debug'] = true;
?>
I wonder why I could no longer even see the error message while the debug mode is on, definitly there must be a php error somewhere? Any suggestion?
Thanks again for any input.
Re: problem during upgrade to 1.11.11 version from 1.11.02
Error 500 is server related.
As I can see you are using mod_rewrite. With htaccess?
If yes rename htaccess file for upgrade procedure.
As I can see you are using mod_rewrite. With htaccess?
If yes rename htaccess file for upgrade procedure.
Re: problem during upgrade to 1.11.11 version from 1.11.02
Additionally if you can access the site admin side, try clearing the cache before upgrading, if not go to the tmp folder and delete all files inside it, except for index.html files. You can do the same for other folders inside the tmp.
Not clearing the cache after a failed upgrade/site move, can also have some unpredictable consequences.
Not clearing the cache after a failed upgrade/site move, can also have some unpredictable consequences.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: problem during upgrade to 1.11.11 version from 1.11.02
Possibly still some files that didn't get uploaded properly? Occasionally have this problem myself on some servers, FTP program thinks all is OK but file size on server is 0.twen88 wrote:I did noticed there were a few files skipped during my painfully file uploading process (the server doesn't have cpanel). But now after I reuploaded the files
Re: problem during upgrade to 1.11.11 version from 1.11.02
Hi guys, thank you for all the suggestions!
I did clean the cache folder from ftp since I could no longer get to the admin pages, and the name changing for the htacess file also has been done. The 500 error is still there, unfortunately.
I was hoping to reupload all the files again this morning then the ftp got stuck. Now I am waiting for the host ppl to help me with the ftp issue first, then will try to upload all the files again.
I did clean the cache folder from ftp since I could no longer get to the admin pages, and the name changing for the htacess file also has been done. The 500 error is still there, unfortunately.
I was hoping to reupload all the files again this morning then the ftp got stuck. Now I am waiting for the host ppl to help me with the ftp issue first, then will try to upload all the files again.
Re: problem during upgrade to 1.11.11 version from 1.11.02
Do you have access to server logs ?
There you can see too what's wrong with your host.
There you can see too what's wrong with your host.
Re: problem during upgrade to 1.11.11 version from 1.11.02
Hi chandra, I am still trying to obtain my ftp access back from the hosting people. I wish the cmsms upgrading process could be a bit easier, at least no need to upload so many files each time. I am pulling hair a bit here.
The newest update is that I was able to run the upgrade.php, but the progress stops at step 3, it says Thanks for upgrading CMS Made Simple to
1.11.11 (San Cristobal) and nothing else on that page. Then I went back to check the checksum file and noticed that there are few files missing. So, need to wait for ftp again.
Also I got two warnings in step2: 1) Testing error_reporting to ensure E_DEPRECATED is disabled, yours is enabled.
2) Checking PHP register globals
PHP register globals is active. For security reasons, this should be disabled.
do thoese matter too?
The newest update is that I was able to run the upgrade.php, but the progress stops at step 3, it says Thanks for upgrading CMS Made Simple to
1.11.11 (San Cristobal) and nothing else on that page. Then I went back to check the checksum file and noticed that there are few files missing. So, need to wait for ftp again.
Also I got two warnings in step2: 1) Testing error_reporting to ensure E_DEPRECATED is disabled, yours is enabled.
2) Checking PHP register globals
PHP register globals is active. For security reasons, this should be disabled.
do thoese matter too?
Re: problem during upgrade to 1.11.11 version from 1.11.02
Have you checked your FTP program uses binary mode?
Re: problem during upgrade to 1.11.11 version from 1.11.02
I used dreamweaver for ftp, it's binary mode by default I suppose?
Re: problem during upgrade to 1.11.11 version from 1.11.02
I'm not a DW user but I'm afraid autoselect mode is choosen.
As Mr. Google says it's possible to choose a transmission mode for every file type. Not sure if you can access these defaults via panel.
Maybe this could help
http://help.adobe.com/en_US/dreamweaver ... -7fcc.html
As Mr. Google says it's possible to choose a transmission mode for every file type. Not sure if you can access these defaults via panel.
Maybe this could help
http://help.adobe.com/en_US/dreamweaver ... -7fcc.html
Re: problem during upgrade to 1.11.11 version from 1.11.02
Hi chandra,
I think you were correct, it must have been some issues with the ftp process. I asked the hosting people to unzip a full version compressed file directly to the server for me, and all the issues are gone!
Thank you very much for all your help and input from everyone. I do still have some issues with the cgicalendar but I will post this in another thread of topic.
Thanks again!
I think you were correct, it must have been some issues with the ftp process. I asked the hosting people to unzip a full version compressed file directly to the server for me, and all the issues are gone!
Thank you very much for all your help and input from everyone. I do still have some issues with the cgicalendar but I will post this in another thread of topic.
Thanks again!