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 July 17th, 2005, 07:22 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 53
Can't edit price(FIXED)

I encounter a problem.

When I post an ad and edit it after that, the price becomes ZERO (Best Offer). I can't seem to change the price at all!!

I also notice that once I go into editproduct.php, the price will become ZERO.

At first I thought my modified templates are causing the problem, but after I use the original files the problem persist.

Any Idea????

http://www.singaporeexpats.com/classifieds

It will be great if someone go into my site and place an ad then edit it and see .............

Please note that all template files and language files are original from 2.41.
prodigy is offline   Reply With Quote
Old July 17th, 2005, 10:03 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
In editproduct.php find this line and add the text in bold

typecast($_POST, array('price' => STRING, 'rating' => STRING, 'title' => STRING, 'keywords' => STRING, 'desc' => STRING, 'extra1' => STRING,
__________________
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 July 17th, 2005, 10:31 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 53
Thanks alot! That solves the problem

Another observation, I find that if I do not include this line:

<input type="file" name="theimage[]">

in the uploadproduct.tmpl, after I submit the ad, instead of seeing Successful uploading the ad", it will go back to:

Step 1 of 3
Choose the type of ad you want to place:

Any tips ?
prodigy is offline   Reply With Quote
Old July 17th, 2005, 11:04 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 53
Sorry ... another issue ...

In http://www.singaporeexpats.com/class...howmembers.php

"Views", "Comments" and "Space Used" does not show anything ....
prodigy is offline   Reply With Quote
Old July 17th, 2005, 11:14 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
showmembers.tmpl should only contain member name and number of ads that I see so the template should be this

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 July 17th, 2005, 06:17 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 53
Thanks!!!!

How about this:

I find that if I do not include this line:

<input type="file" name="theimage[]">

in the uploadproduct.tmpl, after I submit the ad, instead of seeing Successful uploading the ad", it will go back to:

Step 1 of 3
Choose the type of ad you want to place:
prodigy is offline   Reply With Quote
Old July 17th, 2005, 08:45 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
I dont quite follow here nor would I think this be a bug cause in uploadproduct.tmpl there is this

if ( $Globals['usegd'] != -1 ) {
echo<<<PPPRINT
</td>
</tr>
<tr>
<td class="{$Style['tddetails']}">{$Globals['pp_lang']['productname']}:</span></td>
<td class="{$Style['tddetails']}"><input type="file" name="theimage[]"><br />
<input type="file" name="theimage[]"><br />
<input type="file" name="theimage[]"></td>
</tr>
PPPRINT;
}
__________________
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 July 18th, 2005, 01:55 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jul 2005
Posts: 53
If I remove this code:
if ( $Globals['usegd'] != -1 ) {
echo<<<PPPRINT
</td>
</tr>
<tr>
<td class="{$Style['tddetails']}">{$Globals['pp_lang']['productname']}:</span></td>
<td class="{$Style['tddetails']}"><input type="file" name="theimage[]"><br />
<input type="file" name="theimage[]"><br />
<input type="file" name="theimage[]"></td>
</tr>
PPPRINT;
}

It wouldn't work any more ...
prodigy is offline   Reply With Quote
Old July 18th, 2005, 09:50 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Of course it wont. Look at the other uploadproduct files to see how it works. You still need to have an input tag in there for theimage just hidden

<input type="hidden" name="theimage" value="" />
__________________
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
EDIT PHOTO Bug(FIXED) Axe Photopost Pro Bug Reports 5 October 3rd, 2005 08:24 PM
&amp; and &quot; for edit reviews.php/edit(FIXED) Arnie ReviewPost Bug Reports 4 September 8th, 2005 02:04 PM
standalone edit users(FIXED) sanddancer Classifieds Bug Reports 3 August 10th, 2005 11:08 AM
2.41 can not edit users in admin CP(FIXED) snoopy5 Classifieds Bug Reports 2 August 5th, 2005 10:24 AM


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

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