TriLogic Posted March 31, 2006 Posted March 31, 2006 Before globals patch the install dies on step two leaving a partially finished web page, no errors, nothing. So I downloaded and meticulously applied the globals latest available patch and rebooted the server. Tried to install again and got the same thing. Not sure what's going on. Here's the stats on the server. Windows 2000 Server + latest service packs and updates. Folder Permission are correct, server has write access to files. Latest stable PHP installed. Latest MySQL installed. User created, database schema created.
♥Vger Posted March 31, 2006 Posted March 31, 2006 The most common cause for installation getting stuck in step 2 is that most recent PHP installations have register_long_arrays = OFF This needs to be turned to ON in the php.ini file (you will need to stop and restart your server to get this change to take effect.) Vger
Guest Posted March 31, 2006 Posted March 31, 2006 The most common cause for installation getting stuck in step 2is that most recent PHP installations have register_long_arrays = OFF This needs to be turned to ON in the php.ini file (you will need to stop and restart your server to get this change to take effect.) Vger Hey Vger old buddy mucker old pal fellow UH customer (wink, wink). Sorry for hijacking this thread. Vger you know what your on about with osc from the threads I've read over months, do you have any idea regarding this http://www.oscommerce.com/forums/index.php?showtopic=202418 cheers for any light you can shed, pulling me hair out here.
domocles Posted March 31, 2006 Posted March 31, 2006 The most common cause for installation getting stuck in step 2is that most recent PHP installations have register_long_arrays = OFF This needs to be turned to ON in the php.ini file (you will need to stop and restart your server to get this change to take effect.) Vger I don't think my host would appreciate me breaking in and fiddling with their servers :D Any way to get round this problem without restarting the server?
♥Vger Posted March 31, 2006 Posted March 31, 2006 If your site is on an Apache server try using this code in a .htaccess file in the root of your web: php_flag register_long_arrays on Vger
TriLogic Posted April 1, 2006 Author Posted April 1, 2006 No, I checked that. the register_long_arrays setting is turned On and I still get this problem - even after rebooting the server. Any other ideas?
MaBiSmAd Posted April 1, 2006 Posted April 1, 2006 Latest MySQL installed. There seem to be a number of recent posts where this problem occurs with mysql 5. Are you able or willing to install the latest version 4?
domocles Posted April 1, 2006 Posted April 1, 2006 If your site is on an Apache server try using this code in a .htaccess file in the root of your web: php_flag register_long_arrays on Vger Thanks for the tip Vger, unfortunately I have tried that and it just kills my site until I take the line out of the .htaccess. :(
milauskas Posted April 1, 2006 Posted April 1, 2006 I can't get past step 1 (doesn't even get past the initial install page). I'm on a Mac (OS X.3.9). I've got PHP 5, MySQL 5. I've changed register_long_arrays to ON. Rebooted. Still the same thing. Am I suffering the same problem as Windows users? Is this a PHP 5/MySQL 5 problem? I've been able to create databases and tie them into my PHP pages. It's just getting osC to work that's the problem. I haven't had this problem until upgrading to newer PHP & MySQL versions. Must I downgrade? Like I said, my other recent attempts to use PHP 5/MySQL 5 have been successful. I'm just trying to test out this installation locally before moving to a live server. Thanks for any more insight into the problem. Look at my post in 'Installation and configuration'...
MaBiSmAd Posted April 1, 2006 Posted April 1, 2006 I can't get past step 1 (doesn't even get past the initial install page). I'm on a Mac (OS X.3.9). I've got PHP 5, MySQL 5. I've changed register_long_arrays to ON. Rebooted. Still the same thing. Am I suffering the same problem as Windows users? Is this a PHP 5/MySQL 5 problem? I've been able to create databases and tie them into my PHP pages. It's just getting osC to work that's the problem. I haven't had this problem until upgrading to newer PHP & MySQL versions. Must I downgrade? Like I said, my other recent attempts to use PHP 5/MySQL 5 have been successful. I'm just trying to test out this installation locally before moving to a live server. Thanks for any more insight into the problem. What mlp hit upon is that by default PHP5 does not enable the mysql extension (though there is usually an mysql cannot connect error message.) You should check this on your Mac development system. For your problem you will probably need to resort to some old fashion debugging. Look through the install file at what steps it should take, add echo statements to see what it is or is not doing... until you find out where it goes wrong...
milauskas Posted April 1, 2006 Posted April 1, 2006 No, I can connect to MySQL alright. As I mentioned, I had upgraded to these latest versions of PHP and MySQL (to work through David Powers' book on PHP, MySQL and Dreamweaver 8). I was successful in getting everything to work while doing the exercises in that book. So I don't know if that means mlp's comments don't apply in this instance. As far as debugging, I keep telling people that I'm not a programmer, although it looks like I'm going to have to become one (my PHP and MySQL are limited--that's why I like the ease of osC). I have a feeling my client's hosting company won't be using th elatest versions of PHP and MySQL so it may be a moot point. Still, I want to be able to customize the look and feel of osC before transferring it to a live server. Would it just be simpler for me to downgrade to PHP 4 or something like that. I don't want to have to do major surgery at this point. What mlp hit upon is that by default PHP5 does not enable the mysql extension (though there is usually an mysql cannot connect error message.) You should check this on your Mac development system. For your problem you will probably need to resort to some old fashion debugging. Look through the install file at what steps it should take, add echo statements to see what it is or is not doing... until you find out where it goes wrong...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.