Jump to content

MySQL Issue


PrvtPilot

Recommended Posts

Hi

 

I just finished moving WHMCS to a new server.

 

I also upgraded from MySQL 4.1 to 5.0

 

Once I imported the database into the new server WHMCS works but with several issues. I was able to change almost all the settings except those in "Products/Services" and "Promotions".

 

Here is the problem, when I try to modify "Module Settings" in "Products/Services" it will not allow any changes. Once the new information is typed in and you click save the information is reverted back to the original data. Any data edited in the "Promotions" area also reverts back.

 

I can Add, Edit, Delete and Modify anything else but these two areas.

 

Anyone have any ideas?

 

Thanks,

Dean

Link to comment
Share on other sites

  • 10 months later...
  • 2 months later...
  • 1 month later...

By default, MySQL is enabled with strict_mode ON.

currently does not fully support MySQL5.x in strict_mode

 

So, for now, strict_mode needs to be turned off.

This can be done in two ways...

 

Open your "my.ini" file within the MySQL installation directory, and look for the text "sql-mode".

Find:

 

Code:

# Set the SQL mode to strict

sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"Replace with:

 

Code:

# Set the SQL mode to strict

sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"Or, you can run an SQL query within your database management tool, such as phpMyAdmin:

 

 

Code:

SET @@global.sql_mode= '';

Link to comment
Share on other sites

  • 9 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated