HELP mistake during 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
tonyroc
Forum Members
Forum Members
Posts: 11
Joined: Tue Aug 12, 2008 4:29 pm

HELP mistake during upgrade

Post by tonyroc »

I've just tried to upgrade and think I have uploaded the compressed file(cmsmadesimple-base-diff-1.4-1.4.1.tar.gz) to the wrong directory.

If anyone can please check http://realtyperformancegroup.com/ and have any insight to what to in order to get the site back it would be great!

ps.  I've made all necessary backups before attempting to upgrade. 
sagedel
Forum Members
Forum Members
Posts: 20
Joined: Fri Aug 24, 2007 3:50 pm

Re: HELP mistake during upgrade

Post by sagedel »

What version were you upgrading from?

Was the system originally installed in the root directory, or a sub-folder in the root?
tonyroc
Forum Members
Forum Members
Posts: 11
Joined: Tue Aug 12, 2008 4:29 pm

Re: HELP mistake during upgrade

Post by tonyroc »

I was upgrading from 1.3.1 and the site is in a sub directory (/rpg)  and by accident I uploaded the upgrade to the root (which also is ran on CMSMS)  and the same errors are there also (http://rocmarketing.net/

ps. Thanks for your quick reply.
sagedel
Forum Members
Forum Members
Posts: 20
Joined: Fri Aug 24, 2007 3:50 pm

Re: HELP mistake during upgrade

Post by sagedel »

tonyroc wrote: I was upgrading from 1.3.1 and the site is in a sub directory (/rpg)  and by accident I uploaded the upgrade to the root (which also is ran on CMSMS)  and the same errors are there also (http://rocmarketing.net/)

ps. Thanks for your quick reply.
Since you had a separate system in the root, you have overwritten those files now with the upgrade files.

I would say restore the original files to your root the way you had them before first.

Do the same with your second system in the /rpg directory and then check to make sure the site is working again the old way. If you backed up your files correctly, it should.

Then unzip all of the upgrade files on your computer and FTP them up to the correct directory on your hosting server. I'm assuming you unzipped everything the first time after you uploaded to your server. I've had issues with this in the past with other scripts, so try FTPing the unzipped files instead.

Then go to the upgrade.php file (should be located at http://realtyperformancegroup.com/rpg/i ... pgrade.php based on what you've said your file structure is)

If you plan to upgrade your CMSMS system in the root, follow the same steps for that directory.

Also, i've had trouble with upgrading and the site cache before. If you still have problems with the front end after upgrading, but are able to log into the admin, go to the admin settings and clear the site cache and see if that helps.
alby

Re: HELP mistake during upgrade

Post by alby »

tonyroc wrote: I was upgrading from 1.3.1
tonyroc wrote: I've just tried to upgrade and think I have uploaded the compressed file(cmsmadesimple-base-diff-1.4-1.4.1.tar.gz) to the wrong directory.
diff contains different file between to versions of file:
cmsmadesimple-base-diff-1.4-1.4.1.tar.gz
from 1.4 to 1.4.1 and not 1.3.1!

Restore your backup and upgrade with whole pack

Alby
tonyroc
Forum Members
Forum Members
Posts: 11
Joined: Tue Aug 12, 2008 4:29 pm

Re: HELP mistake during upgrade

Post by tonyroc »

wow, i am an idiot.  well in the meantime, i've restored the old files from 1.3.1 and got more errors, they seemed to be permission related so i fixed all of them.  now i'm getting these two errors and do not know how to fix them:


string(109) "Smarty error: [in template:15 line 15]: [plugin] unknown tag - 'stylesheet' (core.load_plugins.php, line 124)"

Fatal error: Call to undefined function: smarty_cms_function_stylesheet() in /home/content/r/o/c/rocmarketinggr/html/rpg/tmp/templates_c/%%25^25C^25C8B04D%%template%3A15.php on line 19


anymore help would be great.
Thanks for your responses.
alby

Re: HELP mistake during upgrade

Post by alby »

tonyroc wrote: string(109) "Smarty error: [in template:15 line 15]: [plugin] unknown tag - 'stylesheet' (core.load_plugins.php, line 124)"

Fatal error: Call to undefined function: smarty_cms_function_stylesheet() in /home/content/r/o/c/rocmarketinggr/html/rpg/tmp/templates_c/%%25^25C^25C8B04D%%template%3A15.php on line 19
Check if you have plugins/function.stylesheet.php and clean cache

Alby
tonyroc
Forum Members
Forum Members
Posts: 11
Joined: Tue Aug 12, 2008 4:29 pm

Re: HELP mistake during upgrade

Post by tonyroc »

great, ALMOST back to normal. 

it's just giving me that one error now and the page is actually loading (without any stylesheet formatting)

the error is displayed at the top of the page http://realtyperformancegroup.com/

thanks for all your help so far.  hopefully this is almost fixed!
alby

Re: HELP mistake during upgrade

Post by alby »

tonyroc wrote: it's just giving me that one error now and the page is actually loading (without any stylesheet formatting)
No stylesheet associated
Check stylesheets attach your template

Alby
tonyroc
Forum Members
Forum Members
Posts: 11
Joined: Tue Aug 12, 2008 4:29 pm

Re: HELP mistake during upgrade

Post by tonyroc »

the correct style sheets are associated in the same exact form they were before i screwed this all up.

what else could this be?

p.s.  the error regarding the stylesheet is only displayed at the top every once in a while, however the page looks the same every time.
alby

Re: HELP mistake during upgrade

Post by alby »

tonyroc wrote: the correct style sheets are associated in the same exact form they were before i screwed this all up.

what else could this be?

p.s.  the error regarding the stylesheet is only displayed at the top every once in a while, however the page looks the same every time.
Then is missing {stylesheet} in template or function.stylesheet.php has errors yet.
Replace this file

Alby
tonyroc
Forum Members
Forum Members
Posts: 11
Joined: Tue Aug 12, 2008 4:29 pm

Re: HELP mistake during upgrade

Post by tonyroc »

{stylesheet} is in the template and replacing /plugins/function.stylesheet.php did not do it

i manually copied the styling from each stylesheet and referenced them in the template to replace {stylesheet}  which worked. 

i'm back to normal!

however this will be a pain in the ass having to edit my external sheets in notepad and then uploading them to test instead of just hitting "apply" 

is there anything else that comes to mind of why the stylesheets are not being placed in the template?

again thanks for all your help!
alby

Re: HELP mistake during upgrade

Post by alby »

tonyroc wrote: is there anything else that comes to mind of why the stylesheets are not being placed in the template?
stylesheet function create link for stylesheet.php
active debug in config.php and look for error in DB query that retrieve CSS associated with your template
maybe there is a broke field for upgrade to 1.4X and downgrade to 1.3X (there is a add field order in 1.4X)

Alby
Locked

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