Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 5 of 5

Thread: PHP5 and MySQL 4.1 (Don't Dispare)

  1. #1

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

  2. #2

    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?

  3. #3

    Default RE: PHP5 and MySQL 4.1 (Don

    Not too sure on that one, I can login without a problem

  4. #4

    Default A quick fix


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


    admin_groups_id = '" . $login_groups_id . "'

  5. #5

    Default Fatal error: Cannot re-assign $this

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

    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:
    $this = null
    to this:
    // $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.


Similar Threads

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



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts