perhaps misspelled or defined by a module not included in the server

Discussion in 'Technical Support' started by quickregister, Nov 3, 2011.

  1. quickregister New Member

    What version of 68 Classifieds are you running?
    Example: V4.1.6 Designer

    What template are you using?


    Please describe in detail the issue you are having:

    A. Not sure which version I purchased it about 6 months ago.
    I am using the default theme.


    I just transferred my script to a new server.
    The site just redirects to an error page when I try to access it.
    The error code is:
    [Thu Nov 03 20:04:17 2011] [alert] [client 124.124.244.107] /home/thefreea/public_html/ads/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration

    What possible module could be missing on the new server that was on the old server?
    Here is the test php script which shows everything about php on the new server
    phpinfo()

    GD is enabled and so are ioncube loaders.

    Any idea where I could start?

    The script is located at
    www.thefreeadforum.com/ads
    It just redirects to my homepage which is the default error redirect page.

    All my other scripts are working fine on the new server including vbulletin.

    Thanks,

    Matt
  2. Mike-N-Tosh Developer & Moderator

    I doubt that any module is doing this at all. It seems to be your .htaccess file that is redirecting everything.
  3. John Snyder Staff

    It sounds like your new server doesn't allow you to change php settings in your .htaccess You probably had registered_globals on or magic_quotes on and it was turned off in your htaccess file.

    So just remove any line that says php_flag ... from your htaccess, and by looking at your phpinfo you need to disable both of these via php.ini. If you can't do that ask your host to disable magic_quotes and registered_globals for you.

Share This Page