Member
Member
AlexWilson   2010-03-01, 18:59
#1

I'm trying to upgrade from 1.2.8 -> 1.2.9, but the upgrade page seems to truncate its output after the 'MySQL $conf["UTF-8"] [is not set true]' warning, so there's no upgrade button.

Anyone else get the upgrade to work?

Administrator
Administrator
acrylian   2010-03-01, 19:23
#2

I had no problems on my test site. Did you check the permissions on the zp-data folder?

Member
Member
AlexWilson   2010-03-01, 20:04
#3

This was in my test environment, XAMPPLite running on Windows, so the permissions are wide open.

Member
Member
sbillard   2010-03-01, 20:11
#4

The next thing Setup would be doing is checking your install package. I suggest you check your error logs and see what errors have occurred.

Member
Member
jsoupene   2010-03-01, 21:00
#5

Don't know if this should be a new topic or not, but when I attempted to upgrade, it gave me the error below when I tried to run setup.php.

Fatal error: Call to undefined function gettext() in F:\www\zp-core\setup.php on line 21

Member
Member
AlexWilson   2010-03-01, 21:01
#6

I turned on error logging in php.ini and see this:
[Mon Mar 01 14:48:41 2010] [error] [client 10.25.106.45] PHP Fatal error: Maximum execution time of 60 seconds exceeded in E:\\xampplite\\htdocs\\gallery\\zp-core\\setup.php on line 1193

I then turned up the maximum execution time and socket timeout to 6 minutes, and that did the trick.

I am running this off a USB thumbdrive, so that explains the I/O slowness.

Member
Member
sbillard   2010-03-01, 22:42
#7

jsoupene:

Sorry about that. Your PHP does not contain gettext() support. This is unfortunately a bug in that we attempted to use the function before checking if it was in existance. The quick fix is to move the lines

Quote:if(!function_exists("gettext")) {
require_once(dirname(FILE).'/lib-gettext/gettext.inc');
$noxlate = -1;
} else {
$noxlate = 1;
}
up to the front of the setup.php script--just before the define('OFFSET_PATH', 2); line.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.