Script Pulse

Trade Pulse => Trade Pulse Support => Topic started by: s3xtapes on December 20, 2008, 07:28:36 AM

Title: Using with Smarty Engine.
Post by: s3xtapes on December 20, 2008, 07:28:36 AM
Ok, I have been trying to get traffic pulse to work with a smarty engine script for two weeks now with my script that uses smarty engine. It appears to be htaccess related, because www.site.com/tp/index.php works fine, but one i login though and it tries to send me to http://www.site.com/tp/?a=admin i get a

Quote
Warning: Smarty error: unable to read resource: "playvideoerror.tpl" in /usr/home/usr/site.com/smarty/libs/Smarty.class.php on line 1088

So if I then retype in www.site.com/tp/index.php then I will see the admin control panel. again though anything linked in there is sent to "?a=command" and I get that same error as above.

Is this htaccess, smarty directly or what? very frustrating and have tried many things with no luck so far.

Any suggestions would be appreciated, thank you!
Title: Re: Using with Smarty Engine.
Post by: s3xtapes on December 23, 2008, 07:59:54 PM
no one has any idea or ever got this to work on a smarty site, is killdozer around anywhere?
Title: Re: Using with Smarty Engine.
Post by: Fedor on January 11, 2009, 05:48:57 PM
Try to add this code to your .htaccess file
Code: [Select]
<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule    ^tp/$    /tp/index.php?$1 [R,QSA,L]
 </IfModule>