Zen Cart Logo
Forums / Installing on a Windows Server / Installation fails

Installation fails

Locked

Views: 9,851

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
31 Aug 2006, 4:17 AM
#1
valentin avatar

valentin

New Zenner

Join Date:
Aug 2006
Posts:
3
Plugin Contributions:
0

Installation fails

Just downloaded the 1.3.0.2 version and I try to install it.
I left all options at default, and received this message when going to the installation screen, the one with "Installation Progress" on top:

Fatal error: Unsupported operand types in F:\xampp\xampp\htdocs\zen\zc_install\includes\functions\general.php on line 287

this is the script:
// show progress bar
global $zc_show_progress;
if ($zc_show_progress=='yes') {
$counter++;
if ($counter/5 == (int)($counter/5)) echo '~ ';
if ($counter>200) {
echo '<br /><br />';
$counter=0;
}

I disabled line 287 not to be used, like this:
// show progress bar
global $zc_show_progress;
if ($zc_show_progress=='yes') {
$counter++;
// if ($counter/5 == (int)($counter/5)) echo '~ ';
if ($counter>200) {
echo '<br /><br />';
$counter=0;
}

( after all it seems it only displays an "~" to show progress)

in both cases I receive now this error:

1146 Table 'zencart.zen_configuration' doesn't exist
in:
[update zen_configuration set configuration_value='F:/xampp/xampp/htdocs/zen/cache' where configuration_key='SESSION_WRITE_DIRECTORY']

any ideas?

31 Aug 2006, 4:29 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,806
Plugin Contributions:
15

Re: Installation fails

Did you use the full fielset for 1.3.0.2? Ssounds like you got a file missing somewhere. Either that or you didn't match database prefixes on the upgrade.

31 Aug 2006, 4:36 AM
#3
valentin avatar

valentin

New Zenner

Join Date:
Aug 2006
Posts:
3
Plugin Contributions:
0

Re: Installation fails

yes, it is the fileset just downloaded.

meanwhile I tried something else:

I changed line 287 like this:

echo '~ ';

as I see it, it was supposed to display a "~" every 5 actions originally, so now will diplay all.

What happened is that on the "installation progress" screen I got ~~~ (3 of them) and then the bomb screen.
I looked on mySQL and see that one table it is created, the _exceptions one, with no contents when this happens.

I downloaded everything one more time to make sure everything is there.

Very strange, I never had problems with other packages.

31 Aug 2006, 7:19 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Installation fails

I think the best fix is to change that line to say:```
if (($counter/5) == (int)($counter/5)) echo '~ ';


I'm surprised no other XAMPP users have reported this... hmmmm .... that's why I suspect it may be unique to the PHP version you are using...
31 Aug 2006, 4:33 PM
#5
valentin avatar

valentin

New Zenner

Join Date:
Aug 2006
Posts:
3
Plugin Contributions:
0

Re: Installation fails

You were right !!!

I downloaded the latest version of XAMPP and everything works with no script change.

Thank you