Author Topic: Using with Smarty Engine.  (Read 8523 times)

0 Members and 1 Guest are viewing this topic.

Offline s3xtapes

  • Newbie
  • *
  • Posts: 2
    • View Profile
Using with Smarty Engine.
« 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!

Offline s3xtapes

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Using with Smarty Engine.
« Reply #1 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?

Offline Fedor

  • Administrator
  • Newbie
  • *****
  • Posts: 3
    • View Profile
Re: Using with Smarty Engine.
« Reply #2 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>