Installing or Upgrading to 1.10.x - Problems and Solutions

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.
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm
Location: the Netherlands

Installing or Upgrading to 1.10.x - Problems and Solutions

Post by M@rtijn »

Although there has been an extensive beta programme for our new CMSms version 1.10, it can be possible that some small or minor issues surface when upgrading.

If you are having problems, first read the announcement for the new version and make sure you have followed the Recommended Upgrade Procedure.
If you did not find any information or clue on how to solve your problem, please use this thread to post them.

[Rolf]
Modules ready for 1.10: http://forum.cmsmadesimple.org/viewtopi ... 35#p265635
This is in Dutch forumboard, ignore the tulips, clogs and windmills :)

[/Rolf]
wournos
Forum Members
Forum Members
Posts: 40
Joined: Sat Jun 23, 2007 6:23 pm

Re: Announcing CMSMS 1.10 - Martinique

Post by wournos »

I followed the steps for upgrading and for some reason my templates are not visible on my site (www.spaceoddity.co.uk). I have checked that the templates and css remains, I even updated them just in case. Nothing happens.
I don't use extra modules or anything other than the default ones.

I'll be reverting to my backup files and trying to upgrade again but if it fails I have to say I'm done with cms' altogether. Too much hassle for me.
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: Announcing CMSMS 1.10 - Martinique

Post by nicmare »

use {cms_stylesheet} in your templte instead of {stylesheet} !
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm
Location: the Netherlands

Re: Installing or Upgrading to 1.10 - Problems and Solutions

Post by M@rtijn »

Doing an upgrade from 1.9.4.3 to the new 1.10 something goes wrong in the config.php with the max upload size.

Before upgrading this was set to '8000000000', but after the upgrade it is set to

Code: Select all

$config['max_upload_size'] = -589934592;
In the "CMSMS Config Variables.php" in the /doc folder I see that "max_upload_size" is depracted, in this case what does that mean and where is the new setting for the maximum size of uploads?
Make your community a better place!
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Announcing CMSMS 1.10 - Martinique

Post by Rolf »

wournos wrote:I followed the steps for upgrading and for some reason my templates are not visible on my site (http://www.spaceoddity.co.uk). I have checked that the templates and css remains, I even updated them just in case. Nothing happens.
I don't use extra modules or anything other than the default ones.
I had similar problems after upgrading a sub website last weekend.
Testing, re-uploaded files, testing, etc. etc. etc.
The next day an editor mailed me another (not upgraded) sub website from this domain also had problems.
In this case the webhost had technical problems!! And wasn't related to the upgrade to 1.10 I did, just a very strange coïncidence... Perhaps for you too?

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Installing or Upgrading to 1.10 - Problems and Solutions

Post by Rolf »

M@rtijn wrote:Doing an upgrade from 1.9.4.3 to the new 1.10 something goes wrong in the config.php with the max upload size.

Before upgrading this was set to '8000000000', but after the upgrade it is set to

Code: Select all

$config['max_upload_size'] = -589934592;
I can't reproduce this M@rtijn...
Other people with similar problems?

B.t.w. 8000000000 seems very high to me... Perhaps related?

®
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm
Location: the Netherlands

Re: Installing or Upgrading to 1.10 - Problems and Solutions

Post by M@rtijn »

Really? 8 GB doesn't seem that big ;D

What is/was the out-of-the-box setting?
Make your community a better place!
wortelsoft
New Member
New Member
Posts: 8
Joined: Tue Mar 31, 2009 12:45 pm

Re: Installing or Upgrading to 1.10 - Problems and Solutions

Post by wortelsoft »

[edit]I just saw this is a sticky, so wil make a new post[/edit]
crankshaft
Forum Members
Forum Members
Posts: 57
Joined: Sun Mar 25, 2007 7:42 am

Re: Installing or Upgrading to 1.10 - Problems and Solutions

Post by crankshaft »

After an upgrade, I have fixed the {cms_stylesheet} issue, but now have another problem.

3 of the image files used in the main template and called from the uploads/images/ folder are not loading, I found this:

http://demo.opensourcecms.com/cmsmadesi ... cmsms_tags

and so added the [[root_url]] in from of the path but that made no difference:

Code: Select all

div#header h1 a {
/* you can set your own image here */
   background: url([[root_url]]/uploads/images/banner.jpg) no-repeat 0 0px; 
   display: block; 
   height: 120px;             /* adjust according your image size */
   /* text-indent: -999em;  this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
Loading the page results in errors:

"NetworkError: 404 Not Found - http://www.xx.com/tmp/cache/uploads/images/banner.jpg"

I have checked the tmp/cache folder and there's no uploads/images/ folder and I'm not sure why the page is trying to load from there ??

I have cleared the cache in the CMS Control panel, I have also cleared the browser's cache, but this only appears to effect images loaded from the template as other site images are displayed fine, so I am suspecting that there is some code which is still looking for {stylesheet} and not the new {cms_stylesheet} ?!

I can solve this by hard-coding the full url in the stylesheet, but that's not really a very good solutions i.e:

Code: Select all

background: url(http://xx.com/uploads/images/banner.jpg) no-repeat 0 0px; 
SOLVED
=====

Adding a backslash infont of the first folder works:

Code: Select all

background: url(/uploads/images/banner.jpg) no-repeat 0 0px; 
Ziggywigged
Power Poster
Power Poster
Posts: 424
Joined: Sat Feb 02, 2008 12:42 am
Location: USA

Installation of 1.10 stop at Installing Modules

Post by Ziggywigged »

I'm attempting to install 1.10 but each time the process stops at the final step of installing the modules.
Lineapixel
Forum Members
Forum Members
Posts: 62
Joined: Mon Oct 30, 2006 2:21 pm

Re: Installing or Upgrading to 1.10 - Problems and Solutions

Post by Lineapixel »

Well, I have a 1.9.4.2 successfully updated via diff files to 1.9.4.3.
Everything was working fine.
I uploaded the 1.10 files (full) and opened upgrade.php.
Everything works like a charm till step 5 (successful).
When I clicked on "continue" it hanged and after several minutes gave an Error 500 that became an error 503 if I try to reload the page.
I did this process 4 times, restoring backups, re-downloading, re-uploading, checking checksums, deactivating all the modules I could (I don't really want to lose a huge amount of hours spent adjusting modules) but it's always the same.
I enabled debug in config.php and now I got a

Code: Select all

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 40961 bytes) in /home/w64755/domains/fondazioneteatroborgatti.it/public_html/lib/misc.functions.php on line 595
Well, I'm on a shared hosting and I have a very low control on Apache & PHP settings, but a 32MB memory setting should be more than enough to run CMSMS, right? PHP is 5.3.6.

No pre-upgrade test fails, but some values are not optimal:
  • E_DEPRECATED is enabled
  • PHP time limit is 30
  • Disabled PHP functions are: system, passthru, shell_exec, escapeshellarg, escapeshellcmd, proc_close, proc_open, dl, show_source, popen, system, passthru, shell_exec, escapeshellarg, escapeshellcmd, proc_close, proc_open, dl, show_source, popen, exec
  • Open basedir restrictions are in effect
I have no idea if these unoptimized settings can cause my upgrade problem, but as I said, step 5 completed succesfully with modules deactivation/activation and database schema update, then nothing else.

Since I'm worried for my setting (mostly NMS, CGCalendar, Gallery, UDTs), is there a chance to make a full install over this one, without any database update and hope to have all my data still there?

Thanks!! :)
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Installing or Upgrading to 1.10 - Problems and Solutions

Post by staartmees »

first I hope you made a proper backup of your working site, including it's database.

wait with your upgrade to 1.10 as NMS doesn't work under 1.10

your php time limit is a bit short, just add the folowing line to your config.php to increase this limit

Code: Select all

ini_set('max_execution_time', 90);
Lineapixel
Forum Members
Forum Members
Posts: 62
Joined: Mon Oct 30, 2006 2:21 pm

Re: Installing or Upgrading to 1.10 - Problems and Solutions

Post by Lineapixel »

staartmees wrote:first I hope you made a proper backup of your working site, including it's database.

wait with your upgrade to 1.10 as NMS doesn't work under 1.10

your php time limit is a bit short, just add the folowing line to your config.php to increase this limit

Code: Select all

ini_set('max_execution_time', 90);
Sure, now I have restored all the backups and the site is up with the last 1.9.4.3 update.
I didn't know about NMS compatibility with the new release, I'll have to wait then.
When all the modules will be updated I'll try to upgrade again using your solution for the time limit.

Thank you very much for your help!
sanderhartveld
Forum Members
Forum Members
Posts: 25
Joined: Mon Sep 07, 2009 10:33 am
Location: Bloemendaal, Netherlands

Re: Installing or Upgrading to 1.10 - Problems and Solutions

Post by sanderhartveld »

Hi dear friends,

I upgraded and almost everything seems to work fine.
The thing that is not working:
- redirect to admin after login
when I login, I get redirected to the login page as if the page refreshes. After that I can go to /admin/ (removing login.php) and then I am in.

Thank you.

Sander
sanderhartveld
Forum Members
Forum Members
Posts: 25
Joined: Mon Sep 07, 2009 10:33 am
Location: Bloemendaal, Netherlands

Re: Installing or Upgrading to 1.10 - Problems and Solutions

Post by sanderhartveld »

sanderhartveld wrote:Hi dear friends,

I upgraded and almost everything seems to work fine.
The thing that is not working:
- redirect to admin after login
when I login, I get redirected to the login page as if the page refreshes. After that I can go to /admin/ (removing login.php) and then I am in.

Thank you.

Sander
I deleted my browser cookies and that helped.
Locked

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