Upgrading to 1.11.4, Smarty_CMS error

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
Sy
Forum Members
Forum Members
Posts: 95
Joined: Fri Aug 17, 2007 11:13 am

Upgrading to 1.11.4, Smarty_CMS error

Post by Sy »

I downloaded the full package from:
http://s3.amazonaws.com/cmsms/downloads ... ull.tar.gz

Uploaded to site and ran the install / upgrade script.

I'm seeing:

Fatal error: Class 'Smarty_CMS' not found in /home/content/15/10319115/html/lib/classes/class.CmsApp.php on line 394

Can anyone please help?

Thank you,
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1976
Joined: Mon Jan 29, 2007 4:47 pm

Re: Upgrading to 1.11.4, Smarty_CMS error

Post by Jo Morg »

Upgrading from which version? What modules do you have installed?
If you used FTP there is a chance a file transfer has gone bad and you may have a few corrupted files on your server. Check this for alternatives, or try uploading them again... Also: did you follow these recomendations?
But... more info please... You may have other issues needing to be solved.
"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!
User avatar
Sy
Forum Members
Forum Members
Posts: 95
Joined: Fri Aug 17, 2007 11:13 am

Re: Upgrading to 1.11.4, Smarty_CMS error

Post by Sy »

The host is GoDaddy.com

O/S: Linux
PHP version: 5.3.14
mySQL version 5.0
mySQL client version: 5.5.19
mySQLi client version: 5.5.19
Not sure what the web-server is, probably Apache.

I've downloaded the english only version of CMS and am re-uploading that to try again.

After completing the upload the error is exactly the same:
Fatal error: Class 'Smarty_CMS' not found in /home/content/15/10319115/html/lib/classes/class.CmsApp.php on line 394

The previous version was 1.8.2.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: Upgrading to 1.11.4, Smarty_CMS error

Post by paulbaker »

Sy wrote:The previous version was 1.8.2.
Are you upgrading direct from 1.8.2 to 1.11.4? If so that's probably why you have issues. You need to follow the instructions here, upgrade one .1 step at a time:
http://docs.cmsmadesimple.org/upgrading
User avatar
Sy
Forum Members
Forum Members
Posts: 95
Joined: Fri Aug 17, 2007 11:13 am

Re: Upgrading to 1.11.4, Smarty_CMS error

Post by Sy »

I downloaded version 1.9 and uploaded it to the site:

Code: Select all

cmsmadesimple-1.9-full.tar.gz
I shelled into the server (SSH) and unpacked the file into the root of html:

Code: Select all

tar -zxvf cmsmadesimple-1.9-full.tar.gz
I then ran the upgrade script, everything went ok, until the very last page where there were several warnings displayed.

When I try to access the site I get:

Code: Select all

Fatal error: Class 'CmsRoute' not found in /home/content/15/10319115/html/lib/classes/class.contentoperations.inc.php on line 1066
Can someone please give me some help on how to recover from this?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1976
Joined: Mon Jan 29, 2007 4:47 pm

Re: Upgrading to 1.11.4, Smarty_CMS error

Post by Jo Morg »

Sy wrote:The previous version was 1.8.2.
Assuming you had a backup of the original 1.8.2 or that you somehow reverted back to 1.8.2 I would try this:
  • - Upgrade to 1.9.4.3;
  • - Update modules;
  • - See if all modules support next step;
  • - Upgrade to 1.10.3;
  • - See if all modules support next step;
  • - Upgrade to 1.11.4;
The error you have seems to be from mismatched versions of diferent files from CMSMS core....
"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!
User avatar
Sy
Forum Members
Forum Members
Posts: 95
Joined: Fri Aug 17, 2007 11:13 am

Re: Upgrading to 1.11.4, Smarty_CMS error

Post by Sy »

Right now I would settle for getting any version up and running.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1976
Joined: Mon Jan 29, 2007 4:47 pm

Re: Upgrading to 1.11.4, Smarty_CMS error

Post by Jo Morg »

Sy wrote:Right now I would settle for getting any version up and running.
That is why the documentation advises to
5. Backup your database and all the files in your CMS Made Simple folder on the server. Download this backup to a known safe location.
And that is also why some of us choose to mirror the site to a sub-dir and use a copy of the DB to test the upgrade before going live with it.
Try uploading CMSMS version 1.8.2. It might get you back on-line. Also try clearing cache after each upgrade, that is also an important step.
HTH
"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!
User avatar
Sy
Forum Members
Forum Members
Posts: 95
Joined: Fri Aug 17, 2007 11:13 am

Re: Upgrading to 1.11.4, Smarty_CMS error

Post by Sy »

I'm slowing winning....GoDaddy move the site from one server to another, when they did this they didn't tell me that they changed the location of the site, the path was different, having fixed the path, this has fixed a whole bunch of errors.

They also forgot to create the tmp folder so the sessions had a problem.

Getting there now...bit by bit, thank you for all the help.
User avatar
Sy
Forum Members
Forum Members
Posts: 95
Joined: Fri Aug 17, 2007 11:13 am

Re: Upgrading to 1.11.4, Smarty_CMS error

Post by Sy »

So close now, site is almost back up, for some reason the menus aren't working, any suggestions?

http://www.eska.co.uk

There is normally a menu with drop down submenus under the text:
"Eastern Shotokan Karate Association"

This is from the System Information option:

Code: Select all

CMS Version       1.9

Installed Modules
-----------------
MenuManager       1.7.6
ModuleManager     1.4.2
News              2.11.3
nuSOAP            1.0.2
Search            1.6.10
ThemeManager      1.1.4
TinyMCE           2.8.4
Album             0.9.2
Calendar          0.7.10
AjaxMadeSimple    0.1.3
Captcha           0.3
CGExtensions      1.0.2
FileManager       1.1.0

Config Information
------------------
php_memory_limit:
process_whole_template:     false
output_compression:         false
max_upload_size:            20000000
default_upload_permission:  664
url_rewriting:              none

page_extension:
query_var:                  page
image_manipulation_prog:    GD
auto_alias_content:         true

locale:
default_encoding:
admin_encoding:             utf-8
set_names:                  false
debug:                      false
root_url:                   http://www.eska.co.uk
ssl_url:                    https://www.eska.co.uk
root_path:                  /home/content/15/10319115/html (0705) Success	
previews_path:              /home/content/15/10319115/html/tmp/cache (0777) Success	
uploads_path:               /home/content/15/10319115/html/uploads (0705) Success	
uploads_url:                http://www.eska.co.uk/uploads
image_uploads_path:         /home/content/15/10319115/html/uploads/images (0705) Success	
image_uploads_url:          http://www.eska.co.uk/uploads/images
ssl_uploads_url:            https://www.eska.co.uk/uploads
use_smarty_php_tags:        false



Current PHP Version (phpversion):     5.3.14 Success	
md5 function (md5_function):          On (True) Success	
GD version (gd_version):              2 Success	
tempnam function (tempnam_function):  On (True) Success	
Magic quotes in runtime (magic_quotes_runtime):     Off (False) Success	
Is E_STRICT disabled in error_reporting (E_STRICT):         Success	
Is E_DEPRECATED disabled in error_reporting (E_DEPRECATED): Success	
PHP Effective Memory Limit (memory_limit):    128M Success	
Maximum Execution Time (max_execution_time):  1800 Success	
PHP output_buffering (output_buffering):  0 Caution	?	
PHP Safe Mode (safe_mode):                  Off (False) Success	
File uploads (file_uploads):                On (True) Success	
Maximum Post Size (post_max_size):          33M Success	
Maximum Upload Size (upload_max_filesize):  32M Success	
Session Save Path (session_save_path):      /var/chroot/home/content/15/10319115/tmp (0705) Success	
Sessions are allowed to use Cookies (session_use_cookies):  On (True) Success	
Basic XML (expat) support (xml_function):   On (True) Success	
Checking if the httpd process can create a file inside of a directory it created (create_dir_and_file):
Success	

PHP register_globals (register_globals):      Off (False) Success	
disable_functions in PHP (disable_functions): Success	
PHP Open Basedir (open_basedir):              Success	
Test for remote URL (test_remote_url):        Caution	?	
fsockopen:                                    Connection ok! Success
fopen: When allow url fopen is disabled you will not be able to accessing URL object like file using the ftp or http protocol. Failure
Test ini_set (check_ini_set):                 On (True) Success	
User avatar
Sy
Forum Members
Forum Members
Posts: 95
Joined: Fri Aug 17, 2007 11:13 am

Re: Upgrading to 1.11.4, Smarty_CMS error

Post by Sy »

All working now, updated site to 1.9.4.2, menus ok now.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1976
Joined: Mon Jan 29, 2007 4:47 pm

Re: Upgrading to 1.11.4, Smarty_CMS error

Post by Jo Morg »

Sy wrote:GoDaddy move the site from one server to another, when they did this they didn't tell me that they changed the location of the site, the path was different, having fixed the path, this has fixed a whole bunch of errors.
Yeah... those are the variables that no one here could have guessed... :D
Glad to know you are being able to solve your problem though.
And (sorry if it sounds imposing...) backup every step of the way, and clear cache on CMSMS and browsers frequently. ;)
"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!
User avatar
Sy
Forum Members
Forum Members
Posts: 95
Joined: Fri Aug 17, 2007 11:13 am

Re: Upgrading to 1.11.4, Smarty_CMS error

Post by Sy »

Yep, learnt a lot of basic lessons here...this is a site I did a few years ago, which hasn't been modified at all until this foul up.

Creating backups of database and complete site now.
Locked

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