Page 1 of 1

[solved] 1.10 upgrade troubles

Posted: Sat Oct 29, 2011 11:06 am
by wortelsoft
I'm trying to upgrade my test system first which is on my NAS.

What works:

1 Install fresh 1.9.4.3 with a new database
2 Upgrade to 1.10
3 All is well

What doesn't work:
1 Install fresh 1.9.4.3 with database copy of main site (also running 1.9.4.3)
2 copy a file backup of all files over from main site (except config.php)
3 1.9.4.3 site is running well
4 copy 1.10 files to the nas
5 start upgrade wizzard and submit with the following as result:

Session not working, you have problem with some modules and functionality! Ask your provider, exiting!

The modules I Have are all upgraded to the latest versions with module manager. I don't have custom udt's.

Captcha 0.4.5
CGExtensions 1.27.1
CGFeedback 1.5
CGSimpleSmarty 1.4.8
CMSMailer 2.0.1
FileManager 1.1.0
MenuManager 1.7.6
ModuleManager 1.4.2
News 2.11.4
nuSOAP 1.0.2
Printing 1.1.2
Search 1.6.10
ThemeManager 1.1.4
TinyMCE 2.9.4
Comments module (not used any more: disabled)

Re: 1.10 upgrade troubles

Posted: Sat Oct 29, 2011 2:29 pm
by calguy1000
The message says:
Session module is disabled or missing in your PHP, you have problem with some modules and functionality! Ask your provider, exiting!'
Which is displayed as a result of a simple function call that tests for the php 'session' extension. This functionality did not change between 1.9.4.3 and 1.10. Therefore I doubt we're getting the complete story.

I think you are having problems with file integrity, and possibly there are issues with the PHP that is enabled on your server.

Re: 1.10 upgrade troubles

Posted: Sat Oct 29, 2011 2:42 pm
by wortelsoft
Just did the following test:

Make another directory on the nas, copied all the 1.10 install files on there using a samba share. Started the installation, no error messages about sesion not working, straight away to the integrity test which passes without problems. On my test directory where I have the backup I can't get to the integrity test.


PHP version 5.2.14

Re: 1.10 upgrade troubles

Posted: Sat Oct 29, 2011 3:08 pm
by calguy1000
try this code, in various sub directories:

Code: Select all

<?php
// TEST A:
if( !extension_loaded('session') && !extension_loaded('SESSION') )
 { 
     die("TEST A failed<br/>");
 } 
// TEST B:
$a = extension_loaded('session');
$b = extension_loaded('SESSION');
$c = (bool)($a | $b);
if( !$c ) 
  {
     die("TEST B failed<br/>");
  }
echo "BOTH TESTS PASSED<br/>";
?>
What I am looking for is different behavior in different subdirectories.

Re: [solved] 1.10 upgrade troubles

Posted: Sat Oct 29, 2011 3:11 pm
by wortelsoft
Found what it was. I also copied the .htaccess file from my main site and it has a session saev path in it. Which of course isn't in the same place.
Sorry about the trouble