Website runs only under Localhost

If coding is more your thing then the Website Development & Scripting forums are for you. Share server-side scripting and database integration tips, tricks and problems here.
Post Reply
espinoza
Newbie
Posts: 2
Joined: Thu Oct 05, 2017 12:45 pm

Thu Oct 05, 2017 12:47 pm

Hello, 

I just created a Dynamic website with PHP / MySQL, everything is fine when I work with Xampp in my computer. But after trying to host the site, I find that in the host's PhpMyAdmin (OVH), the data does not update (for example, when I register on the site to reservation, the client table of the PhpMyAdmin database of the host does not change, which is not the case when I realize the same registration in the local server (ie, before importing the site via FTP )). 

I thank you in advance for more information on this subject if you have any ideas. Is this a network problem? or the type of database used is not well?

Best regards


User avatar
larryrush
Junior Member
Posts: 11
Joined: Wed Sep 27, 2017 11:10 am

Thu Oct 05, 2017 12:51 pm

Hello,

I'm going to allow a silly question for the blow, have you changed the accesses to the database in your code?
espinoza
Newbie
Posts: 2
Joined: Thu Oct 05, 2017 12:45 pm

Thu Oct 05, 2017 12:55 pm

I have not changed access to the database in the code. do you think it is because of this?
User avatar
larryrush
Junior Member
Posts: 11
Joined: Wed Sep 27, 2017 11:10 am

Thu Oct 05, 2017 12:58 pm

I'm sure, change them and you'll see all of a sudden it will work much better.
Inviosolutions
Newbie
Posts: 7
Joined: Thu May 31, 2018 12:35 pm

Sun Jun 03, 2018 2:36 pm

I know this post is bit outdated, but just for the record, I'd check to see if you have the appropriate MySQL permissions like UPDATE enabled. Make sure you check your logs as well, they're usually almost always indicative of the error when it comes to PDO.
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests