"use the two files in the extras for 1.3.6 folder in the release package to replace their equivalent files in the 1.3.6 release package"
"use the two files in the extras for 1.3.6 folder in the release package to replace their equivalent files in the 1.3.6 release package"
Boy, do I feel like an idiot! I'm not sure how I missed that, but I sure did...thanks!
Hi,
I am running Zen Cart 1.3.0.1 with Database Patch Level: 1.3.0.1.
I have tried to install Admin Profiles Version: 1.0.4.
It all seems to work nicely except this one error when trying to access the Admin Settings, this is what I get:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/sites/lightingstudio.co.uk/public_html/onlineshop/admin/admin.php on line 218
Any ideas please?
Many thanks
Claire
by the way my line 218 says:
PHP Code:<td class="smallText" valign="top"><?php echo $admins_split->
Ok, I fixed it! had some of the new code in slightly the wrong placed
I am running Zen Cart 1.3.0.1 with Database Patch Level: 1.3.0.1.
I have installed Admin Profiles Version: 1.0.4. and had it working fine until this morning.
Now when logged in as admin and I try to access anything it just logs me out & takes me back to the login page.
I have been through this forum and yes register globals if off.
Any ideas please?
Cheers
Claire
Hi Claire
This doesn't sound like an Admin Profiles problem. If it were, I would expect that you would get bumped to the access denied page rather than get logged out. This sounds more like your environment not properly holding onto session variables.
To test this I recommend the following
Insert the following linesbetween lines 58 and 59 of admin/index.php and between 52 and 53 of admin/logon.php. Also comment out line 24 of admin/logoff.php. Then close your browser and start from fresh. What values does this give you as you go through the process of logging in and being bumped out?<?php echo 'cjsmiff - trace admin flag: ' . IS_ADMIN_FLAG . '<br />'; ?>
<?php echo 'cjsmiff - trace admin id: ' . $_SESSION['admin_id'] . '<br />'; ?>
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)