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 Installation & Upgrades

Classifieds Installation & Upgrades If you're having install or upgrade problems, post here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 31st, 2005, 09:24 AM   #1 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 567
showproduct.php not working

Classifieds v2.1 vB3 Enhanced showproduct.php doesn't seem to be working - the navbar displays and that's it. Clicking on the yellow error icon in the foot of the browser shows:

Line: 396
Char: 1
Error: Object expected
Code: 0
URL: /classifieds/showproduct.php?product=1

Here's line 396 from showproduct.php:
$query = "UPDATE {$Globals['pp_db_prefix']}users SET views=views+1 WHERE userid={$User['userid']}";
criscokid is offline   Reply With Quote
Old January 31st, 2005, 10:51 AM   #2 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,736
Actually, thats an html error, not a script error.

Check your quickcom.tmpl file and see if var threadedmode = 1; is set.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old January 31st, 2005, 11:22 AM   #3 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 567
No occurences of 'threadedmode' in /templates/quickcom.tmpl so no it's not set. What command syntax should I use and where in the file should it be inserted?
criscokid is offline   Reply With Quote
Old January 31st, 2005, 03:27 PM   #4 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,736
Well, since I don't have a URL to your page, I'm just guessing. View Source for the page and look at line 396 of the html code and it'll give you some more info.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old January 31st, 2005, 06:12 PM   #5 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 567
Line 396 was copied in to my first post. I don't know what I'm looking for so if you could please take a look and advise me it would be most appreciated:

http://scene-out.com/search/showproduct.php?product=1
criscokid is offline   Reply With Quote
Old February 1st, 2005, 11:47 AM   #6 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 567
Can anyone offer any guidance here?
criscokid is offline   Reply With Quote
Old February 1st, 2005, 03:18 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2004
Posts: 24
Just an FYI: The page for the link you provided doesn't come up. More than 3 minutes now and no error icon, nothing........status bar says "Waiting for scene-out.com..." Your homepage does come up though.
izan is offline   Reply With Quote
Old February 1st, 2005, 03:25 PM   #8 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 567
Ever since I upgrade to PHP 4.3.10 that happens from time to time. ALmost as if the site gets busy or something and grinds to a halt. Maybe my php.ini could do with some fine tuning.

My site's working again now.
criscokid is offline   Reply With Quote
Old February 1st, 2005, 08:11 PM   #9 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 567
Can anyone offer any guidance here? At the moment this application isn't working as I can't use showproduct.php
criscokid is offline   Reply With Quote
Old February 1st, 2005, 10:27 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2004
Posts: 24
Yep, your site came up this time. The error doesn't show at all in Mozilla but it does show the error icon in IE. I had a similar problem with my site and it was in the header.htm. Mozilla had no problem with document.onmousedown=right; but IE had to have document.onmousedown="right";

I would check the code in the header.htm and footer.htm first.

FYI: Line 396 in your html is: <body onload="editInit();">
editInit(); is the object expected.
izan is offline   Reply With Quote
Old February 1st, 2005, 10:31 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Posts: 81
Just as izan posted, in your body tag you are calling a javascript function that isn't present.
sifuhall is offline   Reply With Quote
Old February 2nd, 2005, 03:46 AM   #12 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 567
I don't know what I'm looking for - don't have this problem with the rest of my site only on Classifieds showproduct.php.

In the config-int.php the following three settings were previously 'on' - now changed to be as follows:
define(VB3_INTEGRATION, 'on');
define(VB3_ENHANCEDINT, 'off');
define(VB3_COMMWYSIWYG, 'off');

Now Classifieds showproduct.php doesn't show the yellow warning sign... but still the showproduct.php page isn't being shown. Turning VB3 intergration off results in a totally blank page.
criscokid is offline   Reply With Quote
Old February 2nd, 2005, 11:38 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
that would indicate a parse error on php file

upload clean files that your altered.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 2nd, 2005, 01:34 PM   #14 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 567
Only files I remember altering are the confdig files. Copying all of .php files from the download onto my server makes no difference at all.
criscokid is offline   Reply With Quote
Old February 2nd, 2005, 01:36 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
did you alter template or language files?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 2nd, 2005, 02:41 PM   #16 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 567
I can't remember if I edited any of the files - installed it a few weeks ago and left it as I had other things that suddenly took priority. I did create an additional template.

Would it be safe to delete everything in my classifieds directory, put fresh classifieds files in it's place and edit the config files. If logic serves me right this should be ok with no need to run install because the databse is already there.
criscokid is offline   Reply With Quote
Old February 2nd, 2005, 03:12 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
if your using an alternate template set make sure you have a template that it is looking for as in showproduct4.tmpl etc
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 26th, 2005, 04:42 PM   #18 (permalink)
Member
Verified Customer
 
Join Date: Mar 2002
Posts: 176
Well, I have not touched any templates yet... it's a fresh install, I posted a test ad and I also have that javascript error here

Error: editInit is not defined

Also, where does the ad title appears?
Lionel is offline   Reply With Quote
Old March 26th, 2005, 05:59 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
Make sure if your using VB3 enhanced integration the templates from the vb3enhanced directory are copied to the main templates directory
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 26th, 2005, 06:13 PM   #20 (permalink)
Member
Verified Customer
 
Join Date: Mar 2002
Posts: 176
Quote:
Originally Posted by omegatron
Make sure if your using VB3 enhanced integration the templates from the vb3enhanced directory are copied to the main templates directory
That solved the problem, but created another one. Some images are broken. Is there an easy way to fix, or I must hardcode individually? example

never mind I removed the {$Globals['vbulletin']}/ in front of collapsetcat.gif and that was fixed. Strange enough, the other ones needed that.

Last edited by Lionel; March 26th, 2005 at 06:27 PM.
Lionel 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
Modify body tag for showproduct.php pages only ywickham ReviewPost Installation & Upgrades 3 September 13th, 2005 04:40 PM
showcat.php current version showproduct links(ALREADY REPORTED) Arnie ReviewPost Bug Reports 1 September 2nd, 2005 09:13 AM
showproduct.php image/spacer.gif relative urls(FIXED) Arnie ReviewPost Bug Reports 6 August 31st, 2005 12:47 PM
Any problem with renaming showproduct.php? Lee Wilde Classifieds Installation & Upgrades 0 December 28th, 2004 10:36 PM
Problem with showproduct.php and showcat.php jed423 Classifieds Bug Reports 4 November 14th, 2004 11:48 AM


All times are GMT -5. The time now is 09:36 AM.

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