Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
unexpected '&', expecting T_VARIABLE or '$' in /admin/inc/common.php
n00dles101 Wrote:Check this one, you might have to add something to your .htaccess

Thanks for that.... I've tried it, but to no avail.

Below are the (new) contents of my .htaccess file - but if I make all these changes before the install takes place, will the install work? Or is that more applicable to a database-driven system?

Many thanks.

AddDefaultCharset UTF-8
Options -Indexes

# blocks direct access to the XML files - they hold all the data!
<Files ~ "\.xml$">
Order allow,deny
Deny from all
Satisfy All
<Files sitemap.xml>
Order allow,deny
Allow from all
Satisfy All

RewriteEngine on

# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /GetSimple/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]

AddType x-mapp-php5 .php
AddHandler application/x-httpd-php5 .php // wasn't sure abt the ... here


Messages In This Thread
unexpected '&', expecting T_VARIABLE or '$' in /admin/inc/common.php - by martinhansell - 2011-06-04, 07:52:21

Users browsing this thread: 1 Guest(s)