PDA

View Full Version : Problem upgrading to 1.3


m_borgefjord
13th of November 2002 (Wed), 06:24
Greetings from Sydney, Australia...

I've installed 1.22 over the last couple of days and been very happy with it. [I was going to write something along these lines, but Pekka has done such a good job there is no point reinventing the wheel).

Anyway, after (attempting) to follow the instructions to upgrade to 1.3, I am getting errors whenever I try to use any of the 'input' menuoptions / scripts, eg:

Fatal error: Call to undefined function: ee_stripslashes() in /home/mazar9/public_html/gallery/fetchsettings.php on line 48

However, the "user" side of the system is working perfectly. I've tried to verify that slashwork.php is included correctly (with inconclusive results - it looks to me like the file IS called, but the function does not get registered).

If I hack the fetchsettings.php to manually include the function from the slashwork.php, then the /input related scripts will run (though I then notice no difference from v1.22 - eg only the 'old' styles are available). And of course running the main index.php script (eg user-side) will result in errors as the function will be defined again.

I initially thought the issue was with my way of upgrading, so I went through a couple of trials, with the same result.

I'm not strong on the database side, and I may not have done the backup correctly (Still, I hoped the upgrade would work without that). Q: The verify integrity option mentioned in docs - is it part of the EE setup (wchih I now cannot access) or part of mysql admin? If it is essential to be done, then I cannot find the option. [And I'm unable to run any of the admin functions unless I hack fetchsettings as per above]

Would appreciate any suggestions on what I might've done wrong...

I've run through the upgrade procedure a few times as I thought it might intially have been due to a problem with my having created custom directories, parths and so on, but I've now repeated it on a new domain (though same ISP) with same result.

Pekka
13th of November 2002 (Wed), 06:43
Sounds like you may have mixed some code between 1.22 and 1.3RC in your system. Perhaps you have not updated your input folder at all, as you say: the /input related scripts will run (though I then notice no difference from v1.22 - other symptoms point to that theory, too.

slashwork.php and fetchsettings.php have to be in gallery root folder, and ALL files from 1.22 will have to be replaced with those in 1.3RC update. Open the zip so that the folder structure is preserved (winzip will handle that).

All files from 1.3RC update folder "input" go your input folder (whatever you renamed it to). My guess is that you have them in folder "input" and that's not the name of your true input folder, where you have now 1.22 files.

I'm sorry instructions were not clear enough.

m_borgefjord
13th of November 2002 (Wed), 19:32
Thanks for the help in solving the problem.

Looks like WS-FTP had not overwritten all the files in the 'input' directory for some reason (I haven't yet tried to establish why, but the problem was repeateable at least with my configuration).

After specifically going into the 'input' folder and (re)uploading that, I am happy to say that it is now working fine.