PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 10th, 2010, 07:23 AM   #1 (permalink)
420
Senior Member
Verified Customer
 
420's Avatar
 
Join Date: Nov 2004
Posts: 548
Exclamation Gallery loads slow

I have pp and vb integrated. In the vb header I have included a php file in place of the traditional vb html header so it can be used site wide and only have to edit one file. The forums load up fine with this being there (via plugin), however when going into the gallery the gallery loads up each page very slow. If I remove the plugin the gallery loads up fine.

example setup

public_html/header.php (files here that include header load fine)
public_html/forums (includes the public_html/header.php and loads fine)
public_html/gallery (is integrated with forums using vb's style that includes the above header.php but load very slow with include)

any help would be greatly appreciated.

Thanks
420 is offline   Reply With Quote
Old April 11th, 2010, 09:02 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
It is most likely some code in the actual header without seeing the site and the code and whats going on I really can not comment further.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 12th, 2010, 04:49 PM   #3 (permalink)
420
Senior Member
Verified Customer
 
420's Avatar
 
Join Date: Nov 2004
Posts: 548
my apologies here is the code found in the header (edited of course to remove our url from the code)

Code:
Content visible to verified customers only.
420 is offline   Reply With Quote
Old April 12th, 2010, 05:48 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
Thats your normal code right?

You said you have an include and that makes things load slow. Well you are going to debug this a little.

All we do is pretty much load the vb header footer using the vb files so I dont think we are really doing anything different than vb. We load there header and footer and our stuff goes in the middle.

My suggestion is try removing say for instance the java from your include and see how the include file does. Does the header load fast now with that java then thats where the issue lies.

what does the php code look like.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 12th, 2010, 05:50 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
Based on your code this could be a sample PHP include file for the header

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 12th, 2010, 06:09 PM   #6 (permalink)
420
Senior Member
Verified Customer
 
420's Avatar
 
Join Date: Nov 2004
Posts: 548
I removed the java and still slow, however that java is in the standard vb code (our soon to be old style) and loads fine
420 is offline   Reply With Quote
Old April 12th, 2010, 06:11 PM   #7 (permalink)
420
Senior Member
Verified Customer
 
420's Avatar
 
Join Date: Nov 2004
Posts: 548
this is what we have in our vb header template

Code:
Content visible to verified customers only.
420 is offline   Reply With Quote
Old April 12th, 2010, 06:14 PM   #8 (permalink)
420
Senior Member
Verified Customer
 
420's Avatar
 
Join Date: Nov 2004
Posts: 548
this is the plugin code


Code:
Content visible to verified customers only.
I will also post the footer
420 is offline   Reply With Quote
Old April 12th, 2010, 06:24 PM   #9 (permalink)
420
Senior Member
Verified Customer
 
420's Avatar
 
Join Date: Nov 2004
Posts: 548
Here is our footer include

Code:
Content visible to verified customers only.
420 is offline   Reply With Quote
Old April 12th, 2010, 06:27 PM   #10 (permalink)
420
Senior Member
Verified Customer
 
420's Avatar
 
Join Date: Nov 2004
Posts: 548
Here is our vb footer template

Code:
Content visible to verified customers only.
420 is offline   Reply With Quote
Old April 12th, 2010, 07:37 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
well most likely an issue trying to load something in wordpress.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 12th, 2010, 07:43 PM   #12 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Hello, Rob. We can help you with our product, but code that you write and integrate into ours falls outside our area of help. If you take out your code and our product works fine, then its working as expected - one your code is the issue, then its up to you to diagnose the issue.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old April 12th, 2010, 07:49 PM   #13 (permalink)
420
Senior Member
Verified Customer
 
420's Avatar
 
Join Date: Nov 2004
Posts: 548
Quote:
Originally Posted by Chuck S View Post
well most likely an issue trying to load something in wordpress.
it has nothing to do with wordpress cause it's not a wp file, there is nothing related to wp in the file other then links that are to wp pages I have the wp header template file includes this file as well..

both wp and vb work fine with this include only pp seems to have an issue with it
420 is offline   Reply With Quote
Old April 12th, 2010, 08:52 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
Rob

I am merely throwing out guesses to try and help you. As michael notes your code your trying to load into ours would be outside our product support and assistance.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 12th, 2010, 09:17 PM   #15 (permalink)
420
Senior Member
Verified Customer
 
420's Avatar
 
Join Date: Nov 2004
Posts: 548
Right now I have disabled my plugin and added the code from the include right into the vb header and footer and some reason pp is still loading slow, and vb isn't
420 is offline   Reply With Quote
Old April 13th, 2010, 08:52 PM   #16 (permalink)
420
Senior Member
Verified Customer
 
420's Avatar
 
Join Date: Nov 2004
Posts: 548
Michael, can you please chime back in?
420 is offline   Reply With Quote
Old April 13th, 2010, 09:13 PM   #17 (permalink)
420
Senior Member
Verified Customer
 
420's Avatar
 
Join Date: Nov 2004
Posts: 548
Never mind, I hired another top notch programmer who found the issue.
420 is offline   Reply With Quote
Old April 14th, 2010, 06:22 AM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
Glad you found out your issue with your code there.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Queries rsj1 Photopost Pro Bug Reports 7 March 5th, 2010 05:42 AM
Slow Gallery bennac40 Photopost Pro How Do I...? 5 July 31st, 2008 03:26 PM
Slow Photopost gallery after 6.02 kisii General Discussion 7 April 1st, 2008 10:33 AM
Loads of errors adulttt Photopost Pro Bug Reports 11 June 18th, 2007 02:17 PM
high loads from pp ncg Photopost Pro Installation & Upgrades 0 March 5th, 2006 10:17 PM


All times are GMT -5. The time now is 07:49 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0