Jump to content

Admin Area Issues (Data Not Saving)


opsoftware

Recommended Posts

Hi,

 

I am in the process of setting up the various sections of the admin area and I am hitting some problems.

 

I have tried to add some products, the form loads , I add the required information, hit save changes, page refreshes but nothing goes into the database.

 

I have been able to add Groups, and make other changes without issue.

 

This is also happening when I try to add a test client, fill in the form, hit save, page refreshes and nothing.

 

Any ideas???

 

Regards,

 

Ozzie

Edited by opsoftware
typo
Link to comment
Share on other sites

Hi,

 

I am in the process of setting up the various sections of the admin area and I am hitting some problems.

 

I have tried to add some products, the form loads , I add the required information, hit save changes, page refreshes but nothing goes into the database.

 

I have been able to add Groups, and make other changes without issue.

 

This is also happening when I try to add a test client, fill in the form, hit save, page refreshes and nothing.

 

Any ideas???

 

Regards,

 

Ozzie

 

Just been in the admin area and seen the following recent activity: Created Client Tester Test - User ID: 0

 

This is obviously wrong as the tblaccounts table is empty but somewhere things are being added........

 

Ozzie

Link to comment
Share on other sites

OK for anyone else who may run into this you need to do the following:

 

Method 1:

Open the "my.ini" file within the MySQL installation directory and look for something like...

# Set the SQL mode to strict

sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

 

Replace with:

# Set the SQL mode to strict

sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

 

Method 2:

You may be able to run an SQL query within your database management tool such as phpMyAdmin which can normally be found from your web hosting control panel:

 

SET @@global.sql_mode= '';

Link to comment
Share on other sites

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