 | |  | | | ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost. |
December 23rd, 2007, 05:42 PM
|
#21 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
Okay these lines in showproduct make the changes in bold changing $date to $pdate Code: Content visible to verified customers only.
and this line Code: Content visible to verified customers only.
|
| |
December 23rd, 2007, 05:50 PM
|
#22 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2007
Posts: 29
|
I change it but now they are no prev or next product.
|
| |
December 23rd, 2007, 05:56 PM
|
#23 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2007
Posts: 29
|
Check line 248 Code: Content visible to verified customers only.
This case cause the bad select because in database, field date have data.
|
| |
December 23rd, 2007, 06:18 PM
|
#25 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
Okay how about removing this code. Code: Content visible to verified customers only.
You can revert any other prior changes and on the list line make $cat $dbcat
|
| |
December 23rd, 2007, 06:25 PM
|
#26 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2007
Posts: 29
|
If I remove your code :
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/pascalbi/public_html/scuba-planet/showproduct.php on line 269
|
| |
December 23rd, 2007, 06:29 PM
|
#27 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2007
Posts: 29
|
When removing code the select is following :
SELECT id,bigimage,cat,userid,approved FROM rp_products WHERE cat= AND approved=1
|
| |
December 23rd, 2007, 06:33 PM
|
#28 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
What happens if you change the $dbcat variable to $cat on around line 264? This is why I suggested you send us ftp info we dont spend so long with this. Code: Content visible to verified customers only.
|
| |
December 23rd, 2007, 06:33 PM
|
#29 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2007
Posts: 29
|
I've change $dbcat by $cat but order not correct
$query = "SELECT id,bigimage,cat,userid,approved FROM {$Globals['rp_db_prefix']}products WHERE cat=$cat AND approved=1 $sortcode";
|
| |
December 23rd, 2007, 06:35 PM
|
#30 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2007
Posts: 29
|
$sortcode is empty
|
| |
December 23rd, 2007, 06:43 PM
|
#32 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
feel free to send ftp info to support@photopost.com as well as url and admin login.
|
| |
December 23rd, 2007, 06:44 PM
|
#33 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2007
Posts: 29
|
Send it.
|
| |
December 23rd, 2007, 08:20 PM
|
#34 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
cool got it have a merry christmas
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 09:35 PM. | |