Php script not functioning on default ISPCONFIG install...

Discussion in 'Installation/Configuration' started by crypted, Jan 17, 2007.

  1. crypted

    crypted New Member

    I'm trying to get a php translator script working on my site, but it won't work with the default ISPCONFIG setup. For that website I have PHP SAFEMODE disabled with PHP enabled.

    Here's what it's supposed to do: - default in English
    click on a flag and it will direct you using mod_rewrite to another page that should be translated, ex: should be German.
    However, when clicking on the German flag, you get English still. Other websites using the exact same software work fine without problems.

    Here is the mod_rewrite I created in the web folder via .htaccess:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    Attached is a copy of the PHP incase anyone is willing to take a gander and see if there's some crazy function ISPCONFIG has disabled by default in php.ini that may be causing it not to contact and do the actual translation. Thanks so much for anyone who helps. ISPCONFIG rocks!

    Attached Files:

    Last edited: Jan 17, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please have a look at the error log of the website and check if there are any errors listed.

Share This Page