I'm installing on a hosted linux setup and after hours of trying I am still getting the error
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/learnme/s2/public_html/lms/studentdata/productionnu2/dbfunctions.php on line 74
I tried on my database and the sample database. I had to change the database to learnme_sample as its a hosted server.
Do you know the reason for this error?
I still can't get past the login screen
Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Warning: mysql_fetch_object(): supplied argument is not a va
-
- Posts: 3
- Joined: Thu Sep 12, 2013 5:43 pm
-
- Posts: 503
- Joined: Thu May 24, 2012 2:08 am
- Location: Milan, Italy
- Contact:
Re: Warning: mysql_fetch_object(): supplied argument is not
stich,
- which nuBuilder package do you install?
- can you access your database with phpmyadmin (or something else)?
- have you properly set the db/your_db_name/config.php file?
- which nuBuilder package do you install?
- can you access your database with phpmyadmin (or something else)?
- have you properly set the db/your_db_name/config.php file?
-
- Posts: 3
- Joined: Thu Sep 12, 2013 5:43 pm
Re: Warning: mysql_fetch_object(): supplied argument is not
I installed version nubuilder-v2.8.1-12.12.19-Build554
I can access the database with phpmyadmin
I believe i have properly set the both config.php files. Before I had set it up there was a different error message but the error message is different now.
I can access the database with phpmyadmin
I believe i have properly set the both config.php files. Before I had set it up there was a different error message but the error message is different now.
-
- Posts: 503
- Joined: Thu May 24, 2012 2:08 am
- Location: Milan, Italy
- Contact:
Re: Warning: mysql_fetch_object(): supplied argument is not
stich, try to change line 73 in dbfunction.php file:
Maybe you can get more information about error.
Max
Code: Select all
72 // check if email has been set up
73 $t1 = mysql_query("Select * From zzsys_setup") or die(mysql_error());
74 $setup = mysql_fetch_object($t1);
Max
-
- Posts: 3
- Joined: Thu Sep 12, 2013 5:43 pm
Re: Warning: mysql_fetch_object(): supplied argument is not
Thanks for the post. It was my fault. It was pointing to a different database. I can login now
-
- Posts: 503
- Joined: Thu May 24, 2012 2:08 am
- Location: Milan, Italy
- Contact: