This topic is locked
[SOLVED]

 Uh Oh. Help!!!

10/4/2010 1:42:28 PM
PHPRunner General questions
K
karmacomposer author

I am getting this error:
----------------------
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/debra/public_html/clientwebsite.com/acesDBtemp/include/dbconnection.php'>clientwebsite.com/acesDBtemp/include/dbconnection.php on line 34
Fatal error: in /home/debra/public_html/clientwebsite.com/acesDBtemp/include/dbconnection.php'>clientwebsite.com/acesDBtemp/include/dbconnection.php on line 36
----------------------
I added a field into the registration table because the client wanted a new field (drop down) for registering. Upon rebuilding, I received this error. I noticed I did not pick this field in the security tab and did so. Still get this error. I analyzed and repaired the database tables and all is good.
Now what? How can I get this working?
Mike

K
karmacomposer author 10/4/2010

I was able to get it working by opening a backup of the project I made a few days ago. I had to re-do quite a bit, and I deleted all files from the server and from the output folder, but after I FTP'd the new build to the server, all is working.
Now, I need to add a field to the user registration page that new users use to sign up. The existing registration box simply asks for a username, password, verify password, email and a captcha. Now I need to add one more field after-the-fact. What do I have to do to make this work? I am wondering if the meltdown happened because I added the new field to one table, but since those tables were auto-generated, I messed with things????? I am not sure if I am wrong, but if i'm not, how do I re-do the user login settings/tables to make this new field work? The new field needs to be a drop down.

Sergey Kornilov admin 10/4/2010

Please read forum guidelines, that part that suggests to provide descriptive subjects.
Error message suggests that connection parameters are incorrect. Make sure MySQL server address, username, password and database name are correct. Connection parameters can be found in include/dbcommon.php file.