Page 1 of 1

Help installing Maran shop

Posted: Tue Apr 18, 2006 3:53 pm
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/

Posted: Tue Apr 18, 2006 4:42 pm
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???

Posted: Tue Apr 18, 2006 4:48 pm
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:

Posted: Tue Apr 18, 2006 5:02 pm
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 ""; ?>

Posted: Wed Apr 19, 2006 3:22 am
by Oren
These are not errors - it's the actual code :? Are you sure you have PHP installed on the server?

Posted: Wed Apr 19, 2006 8:10 pm
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:

Posted: Wed Apr 19, 2006 9:20 pm
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.

Posted: Wed Apr 19, 2006 9:32 pm
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...

Posted: Wed Apr 19, 2006 10:24 pm
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.