117 Queries on Photopost uploadphoto?
I've just run the debug und show me a lot of queries
uploadphoto.php = Page generated in 0.13343 seconds with 117 queries
gallery-home = Page generated in 0.05362 seconds with 24 queries
showphoto with 0 comments = Page generated in 0.02895 seconds with 31 queries
showphoto with 5 comments = Page generated in 0.04947 seconds with 37 queries
showphoto with 6 comments = Page generated in 0.06739 seconds with 44 queries
showphoto with 10 comments = Page generated in 0.06535 seconds with 42 queries
categorie with 15 thomnals = Page generated in 0.06902 seconds with 20 queries
member gallery = Page generated in 0.04001 seconds with 31 queries
That is definitely not normal, how can I fix it?
Photopost Version = 8.23
What ever it is not coming from our application.
Our upload page has like 26 queries when you figure out what options you want to load etc
A community photo gallery - My Photo Gallery
Page generated in 0.33307 seconds with 26 queries
That is from the upload page
Anything from 20 to 40 some queries would be considered normal depending on the features you turn on or off.
I definately would need more direct examples. Need to see what queries are listed as being ran.
All the queries are definitively from your application
Gallery Home with 32 categories and a lot of thumbnails generate only 23 queries
uploadphoto generates 117 and somtimes 119 queries, another application is vB header und footer
I´ve downloaded your application again today and uploaded all the files - nothing changed.
I showed you a very specific example there are only 26 queries on my site.
Your not giving me anything to work with here. What are the queries? All the queries are definately listed that our application uses so I need to see that. Your number of queries will vary depending on options thats for sure but not 117 that I would think of unless there is some plugin mod?
If you want me to comment you need to list a url login and have that debug information showing.
PS. Is this the site?
You can send data through the contact us link privately if you want.
I was waiting for a response yesterday guess you where busy. I can not respond further on your issue without actually seeing the issue and the queries generated. That obviously would require an admin login.
I take it you have set this line in pp-inc.php to 1 or 2 as that is the only way our page prints that debug info.
I am beginning to think your talking vbulletin debug thing not ours.
I checked out your site and the only debug thing I see is the vb debug is on.
Edit your pp-inc.php and set the line I noted above to 2 not 0 and make sure debug is is on in the photopost admin. That will show you precisely every sql query that is running in our application and will even print the list of queries.
Why uploadphoto.php displays still all the album categories?
Every deactivated album category generates 1 query. I can delete empty the albums.
We deactivate albums for the user about 8 years ago, but we did not delete the albums.
Photopost Admin CP ->Allow users to create Personal Albums? = No
What is the best way to remove the albumcats to display in uploadphoto.php?
uploadphoto.tmp is already done
We use only user statistics plugin
the list of queries
Macuser admin will see everything indeed so this is nothing your users see.
If you have tons of personal albums which you as admin are allowed to use then you will see everything. Members however will not see everything. ;) They only see there stuff.
I am not sure why there is a get_userinfo for every album owner that seems odd.
You can delete any albums if they are empty and your not using them sure.
The queries are normal and because you are admin. My suggestion is to delete any albums or categories you do not want.
basically as admin since you see everything the queries running are to grab the category and albums list. Since we need to show who's albums they are the queries to grab the users info is needed.
Like I said though regular users would not see this.
|All times are GMT -5. The time now is 05:03 AM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0