osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Can not run oscmax install script on php5 - here is the fix

This is a discussion on Can not run oscmax install script on php5 - here is the fix within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; I was trying to run the install script but when i try to go to step 2 (after customize page) ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 04-19-2007, 06:41 AM
Lurker
 
Join Date: Apr 2007
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
rabbit79 is on a distinguished road
Default Can not run oscmax install script on php5 - here is the fix

I was trying to run the install script but when i try to go to step 2 (after customize page) the page stays the same even when I press "Continue" button. No error's messages, nothing. I'm running apache 2.2.4+PHP 5+ MySQL5.

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #2  
Old 04-19-2007, 06:22 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default Re: Can not run install script

Had the same problem here
This is a php 5 problem I think.

See:
Installing PHP5 reg_global=off, long_arrays=off
PHP5 and MySQL 4.1 (Don't Dispare)

Try editing php.ini and change:
register_long_arrays = Off
To:
register_long_arrays = On

That seems to do the trick for me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 3 Users Say Thank You to jpf For This Useful Post:
michael_s (04-26-2007), rabbit79 (04-26-2007), stretchr (09-23-2007)
  #3  
Old 04-26-2007, 01:21 AM
Lurker
 
Join Date: Apr 2007
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
rabbit79 is on a distinguished road
Default Re: Can not run install script

Work's fine now.

Thank's
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 07-10-2007, 07:05 AM
Lurker
 
Join Date: Jan 2005
Location: Puerto Rico
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
egonzalez
Wink Re: Can not run oscmax install script on php5 - here is the fix

Works great, thank you for the fix!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 07-23-2007, 10:10 AM
Member
 
Join Date: Sep 2005
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jschafer52
Default Re: Can not run oscmax install script on php5 - here is the fix

where do i get to the php.ini?

sorry,
JIM
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 07-24-2007, 11:59 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default Re: Can not run oscmax install script on php5 - here is the fix

Depends....(greatly) on the hosting environment and what the hosting company allows you access to.

1) if it is your server - then search for php.ini

2) try adding a overide file

In an editor create a file called (or modify the existing one):
.htaccess
(must have the period before - and nothing before the period)
add to that file the lines:
php_value register_globals 1
php_value register_long_arrays 1

Make sure your FTP software displays system files as well.

Upload that file to your root of your website.

3) Ask your hosting company where it is or to do it for you.

4) If they refuse - Move Hosting companies....
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 09-22-2007, 10:34 AM
Nimitz_1061's Avatar
New Member
 
Join Date: Oct 2003
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
Nimitz_1061
Default Re: Can not run oscmax install script on php5 - here is the fix

Note that you may have to upload the php.ini file to your admin and to the install directory as well in order to have the changes work in all locations..

(php.ini files should NOT affect the server recursively, to the best of my knowledge..)

David
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 07-26-2008, 10:11 AM
Lurker
 
Join Date: Jul 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
pr3da70r is on a distinguished road
Arrow Re: Can not run oscmax install script on php5 - here is the fix

I'm having the same problem. Here's what my php configuration shows..

Code:
Directive	Local Value	Master Value
allow_call_time_pass_reference	On	On
allow_url_fopen	On	On
allow_url_include	On	On
always_populate_raw_post_data	Off	Off
arg_separator.input	&	&
arg_separator.output	&	&
asp_tags	Off	Off
auto_append_file	no value	no value
auto_globals_jit	On	On
auto_prepend_file	no value	no value
browscap	no value	no value
default_charset	no value	no value
default_mimetype	text/html	text/html
define_syslog_variables	Off	Off
disable_classes	no value	no value
disable_functions	no value	no value
display_errors	On	On
display_startup_errors	Off	Off
doc_root	no value	no value
docref_ext	no value	no value
docref_root	no value	no value
enable_dl	On	On
error_append_string	no value	no value
error_log	no value	no value
error_prepend_string	no value	no value
error_reporting	no value	no value
expose_php	Off	Off
extension_dir	./	./
file_uploads	On	On
highlight.bg	#FFFFFF	#FFFFFF
highlight.comment	#FF8000	#FF8000
highlight.default	#0000BB	#0000BB
highlight.html	#000000	#000000
highlight.keyword	#007700	#007700
highlight.string	#DD0000	#DD0000
html_errors	On	On
ignore_repeated_errors	Off	Off
ignore_repeated_source	Off	Off
ignore_user_abort	Off	Off
implicit_flush	Off	Off
include_path	.:/usr/local/php5/lib/php	.:/usr/local/php5/lib/php
log_errors	Off	Off
log_errors_max_len	1024	1024
magic_quotes_gpc	On	On
magic_quotes_runtime	Off	Off
magic_quotes_sybase	Off	Off
mail.force_extra_parameters	no value	no value
max_execution_time	30	30
max_input_nesting_level	64	64
max_input_time	60	60
memory_limit	32M	32M
open_basedir	no value	no value
output_buffering	0	0
output_handler	no value	no value
post_max_size	8M	8M
precision	12	12
realpath_cache_size	16K	16K
realpath_cache_ttl	120	120
register_argc_argv	On	On
register_globals	On	On
register_long_arrays	On	On
report_memleaks	On	On
report_zend_debug	On	On
safe_mode	Off	Off
safe_mode_exec_dir	/usr/local/php/bin	/usr/local/php/bin
safe_mode_gid	Off	Off
safe_mode_include_dir	no value	no value
sendmail_from	no value	no value
sendmail_path	/usr/sbin/sendmail -t -i 	/usr/sbin/sendmail -t -i 
serialize_precision	100	100
short_open_tag	On	On
SMTP	relay-hosting.secureserver.net	relay-hosting.secureserver.net
smtp_port	25	25
sql.safe_mode	Off	Off
track_errors	Off	Off
unserialize_callback_func	no value	no value
upload_max_filesize	2M	2M
upload_tmp_dir	/tmp	/tmp
user_dir	no value	no value
variables_order	EGPCS	EGPCS
xmlrpc_error_number	0	0
xmlrpc_errors	Off	Off
y2k_compliance	On	On
zend.ze1_compatibility_mode	Off	Off
PHP Version 5.2.5
MySQL version 4.1
OS: Linux
Server API: CGI/FastCGI
Apache: 1.3.33 (I think)

I also tried to upload php.ini and php5.ini to the admin and install directories to make sure that register_globals and register_long_arrays is enabled.

Any tips on what I might be missing? Really want to get this installed..

EDIT: Is there a way to manually install the script without going through install.php? And just to re-iterate, my script keeps looping back to step 2 and "freezing" there, refusing to go forward until I cancel and start over again, where it goes to step 2 or 3 before looping back to step 2 and freezing there each time. I used phpmyadmin to import the sql but have no idea what else I need to configure. Perhaps configure.php in the admin/includes and the /includes/ directory?

Thanks for the help in advance

Last edited by pr3da70r; 07-26-2008 at 10:15 AM. Reason: Adding a question, please see the EDIT: section.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Unable to install on Windows with PHP5 mottolini osCommerce 2.2 Installation Help 1 10-21-2005 07:37 AM
Can't install Oscommerce - only one script in root directory dalglish osCommerce 2.2 Installation Help 1 01-16-2005 01:09 PM
install script NOT THERE!! ReginaStelling osCMax v1.7 Installation 4 06-29-2004 08:59 AM
Install script fails to log into mysql server bjrafferty osCMax v1.7 Installation 7 06-23-2004 08:37 PM
No Install Script ramonjaime osCommerce 2.2 Installation Help 4 11-13-2002 05:02 PM


All times are GMT -8. The time now is 10:58 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax