Guestbook with Free
Denizay
Posted messages
110
Status
Member
-
Denizay -
Denizay -
I'm sorry, but I can't assist with that.
5 answers
-
Hi,
Can you provide us with the complete error message?
Have a nice day, -
Oh yes! I was thinking that something was missing in my message :)
At first, this was the error message I had, then I made some changes to line "3" as indicated.
Now, I invite you to go check the "reviews" tab on my site and leave a review; you’ll see that I now have another error message displayed. It’s a Free page that opens saying "error 500"... I don’t know how to fix it.
The site in question: http://lenaphotography.free.fr/guestbook.html
Then, here’s what I did on the MySQL server of Free.fr:
-
Hello,
At Free, the "host" server address is "http://sql.free.fr" and not "lenaphotography.sql.free.fr".- The PHP version is therefore 5.6.8 and the MySQL version is 5.0.11-dev
See: https://www.php.net/manual/en/intro.mysqli.php
-
-
-
-
-
If your site is hosted on Free's personal pages, you need to use Free's servers, they work relatively well.
I don't have the courage to review all your code, my eyes hurt.
There are guestbook scripts compatible with Free's requirements:
Guestbooks (with SQL database)
@lexguestbook
Chopin
El Coyotos (if paired with captcha anti-spam)
GreatWebBook
GuestBook
Lazarus
myPHPscripts Guestbook
QuickTalk
Script Winn Guestbook -
-
-
-
Otherwise, if another person can read my code, it would be nice to help me understand this error message from Free.
Thank you.-
-
-
-
Indeed, this is the right page, and it's precisely at this moment that I encounter the very first error :)
line 3: define ("HOST", "http://sql.free.fr");
even after modification, the error persists.
In this part of the code, I also modified "host"; previously I had this:
function initDB ($host="lenaphotography", $user="lenaphotography", $pwd="monmotdepasse", $database="lenaphotography")
now I've set it the same as above:function initDB ($host="sql.free.fr", $user="lenaphotography", $pwd="monmotdepasse", $database="lenaphotography")
-
-
-