Page 2 of 4
MySQL Errors
Posted: Fri 20. Oct 2006, 15:53
by Marcel
Hi
I installed this script, but now I get 2 MySQL Errors
Above Login form
Code: Select all
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/web243/html/user_login.php on line 132
Below Login form
Code: Select all
Warning: in_array(): Wrong datatype for second argument in /home/www/web243/html/user_login.php on line 411
Can anyone help.
Error
Posted: Sun 26. Nov 2006, 15:52
by Annovolk
Hallo,
ich bekomme unter 1.2.8 folgende Fehlermeldung
Code: Select all
Warning: Invalid argument supplied for foreach() in /www/htdocs/z234qbre/phpwcms/stuff/user_login.php on line 91
Warning: Invalid argument supplied for foreach() in /www/htdocs/z234qbre/phpwcms/stuff/user_login.php on line 100
Warning: Invalid argument supplied for foreach() in /www/htdocs/z234qbre/phpwcms/stuff/user_login.php on line 113
Wie kann das Problem behoben werden?
Anno
I get teh same error
Posted: Sun 3. Dec 2006, 16:47
by wireless
Above Login form
Code: Select all
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/web243/html/user_login.php on line 132
Any ideas what I have done wrong?
Posted: Thu 7. Dec 2006, 22:45
by culda_a
Can I get more instruction about how to install this script pls... like where to copy the 2 files what steps do I have to follow?
Thanks
Posted: Thu 7. Dec 2006, 23:29
by jscholtysik
Come on culda_a!!
Please read the description and the information within the code by yourself. Then you will understand it...
Joachim
Posted: Thu 7. Dec 2006, 23:30
by culda_a
ok sorry I did not know that is instruction in the files
I have seen only 2 files
Posted: Thu 7. Dec 2006, 23:56
by culda_a
It seams that I will ask the same question... about this error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/loghinit/public_html/scripts/user_login.php on line 132
what should I do
Posted: Mon 11. Dec 2006, 12:36
by culda_a
I receive a temporaly solution for this error:
just delete or make inactive the code from line 120 until 138 and the error code will be deleted.
but strange I have see that after loghin... when I want to log out is not working...but maybe is something that I did not do right
Posted: Thu 21. Dec 2006, 21:52
by Gismo
Hallo,
tolles Script.. allerdings bin ich wohl zu blöd:
1) kann jem. vielleicht mal eine step-by-step anleitung mit bildern erstellen, wie eine bestimmte ebene mit PW geschützt wird.
2) pw anfordern/user anfordern funktioniert noch nicht?
3) hab versucht das script zu installieren... jedoch kann ich auch ohne login die geschützten seiten sehen.
Grüße und danke!
Posted: Sat 30. Dec 2006, 20:19
by culda_a
you can see the section that you protect ... but you cand hide the article (content) that you want
Re: MySQL Errors
Posted: Sun 31. Dec 2006, 12:44
by maxroach
Marcel wrote:Hi
I installed this script, but now I get 2 MySQL Errors
Above Login form
Code: Select all
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/web243/html/user_login.php on line 132
Below Login form
Code: Select all
Warning: in_array(): Wrong datatype for second argument in /home/www/web243/html/user_login.php on line 411
Can anyone help.
Did you find a solution?
I have exactly the same problem...
Thank you
Florian
Posted: Wed 3. Jan 2007, 21:08
by culda_a
Take a look above in this topic I have write the solution just a few posts above... sure is a temporaly solution, but it works... anyway I write again here:
just delete or make inactive the code from line 120 until 138 and the error code will be deleted
Posted: Sun 14. Jan 2007, 20:38
by wingover
Hi,
I tested the script with 1.2.8 and it`s working well with files. Maybe I must change some things for working with the users from the system in the database. Maybe there are some changes from 1.2.6 to 1.2.8.
Here is a Screenshot from a site (
http://spielwiese.wireframe.de), where I use the script.
The first article of 'downloads' has 'id=4,4,0,0,1,0' and the second (the protected) has 'id=4,5,0,0,1,0'.
The alias of 'Downloads' is 'downloads'
Maybe that helps you to set up the stuff.
Grüzli - Andi
Posted: Tue 13. Mar 2007, 23:11
by culda_a
wingover do you know why when I press on the link to recover the password i don't receive it in my e-mail?
Posted: Wed 14. Mar 2007, 04:29
by wireless
Does this script work with the 1.3 version?