Help installing Maran shop

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Maluendaster
Forum Contributor
Posts: 124
Joined: Fri Feb 25, 2005 1:14 pm

Help installing Maran shop

Post by Maluendaster »

Hi, i can't get this script to work at all... I download it from http://www.rocoder.3x.ro/maranphp/maranshop.zip , but it's not working properly, i followed the readme/installation TXT and nothing...

any help would be appreciated..

thank you.

PD1 : here's the site : http://www.rocoder.3x.ro/maranshop.php
PD2 : here's the demo : http://www.rocoder.3x.ro/maranshop/
Maluendaster
Forum Contributor
Posts: 124
Joined: Fri Feb 25, 2005 1:14 pm

Post by Maluendaster »

In PHP 5 doesn't work, i tested it with PHP 4 and works perfectly... How can i make this script run in PHP5???
User avatar
Oren
DevNet Resident
Posts: 1640
Joined: Fri Apr 07, 2006 5:13 am
Location: Israel

Post by Oren »

1. Set the error reporting to E_ALL.
2. Try running the script on a server with PHP 5 installed.

See which errors you get and adjust the script accordingly :wink:
Maluendaster
Forum Contributor
Posts: 124
Joined: Fri Feb 25, 2005 1:14 pm

Post by Maluendaster »

thanks, I did that and the only thing that is showing is this :

Code: Select all

Featured Products
"; for($i=$pagelast;$i<3+$pagelast;$i++){ $deti = explode("#",$tim[$i]); echo "
Title: $deti[2]
Price: $deti[3]$curency
more details... "; } echo ""; //////////////////////////////////// for($j=$pagelast+3;$j<6+$pagelast;$j++){ $detj = explode("#",$tim[$j]); echo "
Title: $detj[2]
Price: $detj[3]$curency
more details... "; } echo ""; //////////////////////////////////// for($k=$pagelast+6;$k<9+$pagelast;$k++){ $detk = explode("#",$tim[$k]); echo "
Title: $detk[2]
Price: $detk[3]$curency
more details... "; } echo ""; ?>
User avatar
Oren
DevNet Resident
Posts: 1640
Joined: Fri Apr 07, 2006 5:13 am
Location: Israel

Post by Oren »

These are not errors - it's the actual code :? Are you sure you have PHP installed on the server?
Maluendaster
Forum Contributor
Posts: 124
Joined: Fri Feb 25, 2005 1:14 pm

Post by Maluendaster »

Oren wrote:These are not errors - it's the actual code :? Are you sure you have PHP installed on the server?
yeah, i tested others PHP scripts and they all work, I don't know what's wrong... :cry:
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Maluendaster wrote:In PHP 5 doesn't work, i tested it with PHP 4 and works perfectly... How can i make this script run in PHP5???
See if the website you downloaded this from ported it to PHP5. If that doesn't work then you are more than likely going to have go through the code to see what PHP features are being used that are certain conflicts with PHP5. There is a section of the PHP manual that discusses migrating from PHP4 to PHP5. You chould check that out as it might help you search for what could be causing you problems.
Maluendaster
Forum Contributor
Posts: 124
Joined: Fri Feb 25, 2005 1:14 pm

Post by Maluendaster »

Everah wrote:
Maluendaster wrote:In PHP 5 doesn't work, i tested it with PHP 4 and works perfectly... How can i make this script run in PHP5???
See if the website you downloaded this from ported it to PHP5. If that doesn't work then you are more than likely going to have go through the code to see what PHP features are being used that are certain conflicts with PHP5. There is a section of the PHP manual that discusses migrating from PHP4 to PHP5. You chould check that out as it might help you search for what could be causing you problems.
i talked with the guy who wroted the script, and he told me that is should work...
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Maluendaster wrote:i talked with the guy who wroted the script, and he told me that is should work...
Should or will? There is a difference.
Post Reply