View Full Version : getting Mysql warning
September 11th, 2011, 11:07 AM
Hi im getting my sql warning i have verified all the db connection for the user db everything looks fine , even if you login with the id it even logs in but comes with error and the wjhole screen comes without any upload image options or anything
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in [path]/photopost71/forums/vb3.php on line 32
Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in [path]/photopost71/pp-inc.php on line 4104
September 11th, 2011, 12:01 PM
Number 4 on that tutorial of the most common issues should resolve your issue. Reinstalling and entering the correct information for vbulletin database and table prefix's on install will remedy that issue.
September 11th, 2011, 12:36 PM
Chuck for sure i already did the correct setting if the db name or the table prefix is wrong then it will not give any screen output , it puts this warning on top and then the page proceeds with the normal screen and if im logged in as admin in the vbulleting then try to go to the admin page of photopost , it says not a valid administrator or mooderator
September 11th, 2011, 12:38 PM
and number 4 is saying link issue is my issue link issue.
September 11th, 2011, 12:50 PM
sorry chuck i installed it AGAIN AFTER DELETING THE TABLES AND IT WORKED FINE , NOW THE ISSUE IS AFTER I LOOGED IN with admin id or any id i come to the page of mine and over there if i click on upload photos it gives info saying sorry you are not allowed to upload photos , do i need to give more permissions to create category type and upload photos.
Now i need the part like where i will integrate this with vBulletin® Version 4.1.5 , like will it be in the forum or how will i do it is thr a good integration between both.
September 11th, 2011, 01:09 PM
You need to as admin set usergroup permissions under photopost admin edit usergroups.
As far as making things show in vb4 forum that is a plugin or mod as its called. You can go to the photopost mods forum and download the plugin here
September 11th, 2011, 04:11 PM
ok i went over and i gave the permission to the groups and everything m and i also vcreated some categories ,then i went over to see the categories in main page , now it lists the categories and when i click on new categories , it opens a url with the category name as url name.htm, the problem is think nits not finding the url and it opens up a default main page of vbulletin, can you p[lease help me i can provide the url and userd id and pass if you want , please fix that for me .
September 11th, 2011, 04:25 PM
It always helps to have a url to see what you mean. Perhaps maybe you turned on SEO urls without renaming the included HTACCESS file to .htaccess?
September 11th, 2011, 04:47 PM
ya figured that out , and i just made it php , does that mean that google will not search the page or what , what will u suggest to use php based on html based url.And if you want to close this thread please go ahead , one final question is thr a facility to see the exif info of the photo , is that functionality already available when we view the image or some needs to be done.
September 11th, 2011, 08:17 PM
I would suggest trying the seo if you rename that file I noted to .htaccess and test if things work with your server.
As far as exif you need to have jhead installed on your server if you have that on the server then you can setup exif.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.