osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

PHP5 and MySQL 4.1 (Don't Dispare)

This is a discussion on PHP5 and MySQL 4.1 (Don't Dispare) within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; I am running Fedora Core 5 With PHP5 and MySQL 4.1. I just install 2RC2 and out of the box ...


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
Closed Thread

 

LinkBack (2) Thread Tools
  2 links from elsewhere to this Post. Click to view. #1  
Old 09-30-2005, 09:07 AM
Lurker
 
Join Date: Oct 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jatsrt
Default PHP5 and MySQL 4.1 (Don't Dispare)

I am running Fedora Core 5 With PHP5 and MySQL 4.1. I just install 2RC2 and out of the box it will not install. However there is a simple fix and as far as I have tested, it is all working ok right now.

In /etc/php.ini you need to change:
register_long_arrays = Off
To:
register_long_arrays = On

That seems to do the trick, I know it is not officiall support, but try it out and let us know
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 10-04-2005, 10:53 PM
Lurker
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bigboss
Default RE: PHP5 and MySQL 4.1 (Don

Yes! It works!
I have followed your instruction to change the setting in php.ini. Now, I can install 2RC2. However, I get the following error when login the admin page.
===============
1267 - Illegal mix of collations (latin1_swedish_ci,COERCIBLE) and (utf8_unicode_ci,IMPLICIT) for operation 'find_in_set'

select admin_files_id from admin_files where FIND_IN_SET( '1', admin_groups_id) and admin_files_is_boxes = '1' and admin_files_name = 'catalog.php'
======================
I am using Fedora Core 4 with PHP5 and MySQL 4.1 and create the database collated with utf8_unicode_ci because I am using Chinese chars.
Do you know how to fix this problem?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 10-05-2005, 04:18 AM
Lurker
 
Join Date: Oct 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jatsrt
Default RE: PHP5 and MySQL 4.1 (Don

Not too sure on that one, I can login without a problem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 10-12-2006, 12:26 PM
Lurker
 
Join Date: Dec 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
macdaddie0
Default A quick fix

Change:

FIND_IN_SET( '" . $login_groups_id . "', admin_groups_id)

To:

admin_groups_id = '" . $login_groups_id . "'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 11-06-2006, 12:26 PM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 319
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
red_fraggle
Default Fatal error: Cannot re-assign $this

getting the following error at the login screen for the admin section of oscmax V2

Code:
Error: Fatal error: Cannot re-assign $this in /var/www/vhosts/domain.net/httpdocs/admin/includes/classes/upload.php on line 31
I know the fix for this is to change it to the following:

change this:
Code:
$this = null
to this:
Code:
// $this = null
However, seeing that oscmax is supposed to be PHP 5 complient, why is there still an outdated, variable still being used in oscmax 2 ?

this was well documented in the following bug tracker on PHP's website, and was verified "not a bug" but a "functionality change" by them.

http://bugs.php.net/bug.php?id=34358
__________________
Clifton Murphy CEO/CTO
Hyperactive Inc.
osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

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

LinkBacks (?)
LinkBack to this Thread: http://www.oscmax.com/forums/oscmax-v2-installation-issues/5289-php5-mysql-4-1-dont-dispare.html

Posted By For Type Date
anpera.net - Thema anzeigen - Neues Hausscript (für 0.9.7) This thread Refback 09-11-2007 07:07 AM
anpera.net - Thema anzeigen - Neues Hausscript (für 0.9.7) This thread Refback 09-03-2007 09:43 AM

Similar Threads

Thread Thread Starter Forum Replies Last Post
Is EasyPopulate 2.76(OSCMax2RC2) not compatible with PHP5? icecold osCMax v2 Features Discussion 1 05-29-2006 12:10 PM
Unable to install on Windows with PHP5 mottolini osCommerce 2.2 Installation Help 1 10-21-2005 06:37 AM
Host updating to php5 - What are my options? rperry osCMax v1.7 Discussion 1 08-28-2005 06:03 PM
Compatible with PHP 4.33 and mysql 3.23 the_error_king osCMax v2 Installation issues 6 06-15-2005 07:19 PM
MySQL? Please help! extremenewb osCommerce 2.2 Installation Help 3 09-22-2004 07:31 AM


All times are GMT -8. The time now is 12:22 PM.


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