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 Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 30th, 2007, 06:00 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 76
Problem with inc_ads.php

A few months ago when I first purchased PhotoPost Classifieds, it didn't take much effort to include a couple random images for my vbadvanced pages.

However, when I moved my site to a new server, this feature won't function properly. It will work when my vb site is "turned off", but the second I turn it on httpd requests stack up and the site stops responding. I end up having to restart apache and quickly deactivate the feature for my site to work again.

What is strange is that I do the same thing with PhotoPost Pro, display a couple random pictures from the member albums, and it works fine on the new server.

The old server was running PHP4/MySQL4 and the new server runs PHP5/MySQL5. I did change the sql_mode setting so that it wasn't strict. I also found some inconsistencies in my vbadvanced module settings, but cleaning it up didn't help.

This problem was discovered during my third attempt to move my site, even after several database changes it still wouldn't respond on the new server. So I deactivated several modules until I go down to this one, it is the only thing that will stop the site from responding.

The site is running on the new server now, but without the random ads block.

Any ideas?
__________________
Shawn
motowebmaster is offline   Reply With Quote
Old December 30th, 2007, 07:13 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
You would need to post explicit errors and direct links to your site. You may also need to investigate your own code since we dont have a direct module made for vbadvanced your using a module you create right? Make sure all server paths are correct and all database stuff is filled out in inc_ads.php. Most common errors are those two issues people forget to check.

The module itself is identical to Photopost Pro's module except the query and variable names so your issue has to be tracked down based on any errors.
__________________
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 December 30th, 2007, 07:54 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 76
Hi Chuck,

I tried obtaining an error message, but it was difficult from my web browser because it locked up my site. I searched my error logfile on the server and didn't find a reference to inc_ads.php (200 megs of error lines showing a missing clear.gif file).

In vBadvanced, I would create a module that included a PHP File. The PHP File itself would have this code:
Code:
Content visible to verified customers only.
Other than a change in PHP and MySQL, there were no changes to the files or document roots. It didn't affect PhotoPost Pro.

What is weird is that it worked fine when vBulletin was in "Off" mode. I would go through my checks/verifications and see that it was working. Only when the site was turned on that it would become a problem.

I'm wondering now if I went back and deactivated the PhotoPost Pro block, then activated the Classifieds Block, if it would work. Maybe they can't work together ?

My Site is at http://www.triumphrat.net
__________________
Shawn
motowebmaster is offline   Reply With Quote
Old December 30th, 2007, 08:46 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Cant say really. I have an ad block on my vbportal that works fine.

Hard for me to say since it isnt running. I would suggest you make sure you have the database lines mysql_select_db and $link lines uncommented and filled out.
__________________
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
Help with inc_ads.php and selecting certain category? coralnutz Classifieds How do I...? 3 September 7th, 2007 04:00 PM
Error in inc_ads.php offline Classifieds Bug Reports 3 September 5th, 2007 05:33 PM
inc_ads.php - Where Can I Find This? smokn28 Classifieds Installation & Upgrades 2 December 17th, 2006 02:26 AM
help needed with inc_ads.php PLEASE!!! jtorral General Discussion 1 June 11th, 2006 09:22 AM


All times are GMT -5. The time now is 06:18 AM.

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