Re: Admin Profiles Support Thread
I carefully installed the Admin Profiles mod. I've spent a couple of hours re-checking all the files and re-checking Patches 1-3.
When I click Admin/Tools/Admin Settings I get a white screen with this:
Parse error: syntax error, unexpected '-', expecting T_STRING or T_VARIABLE or '$' in /home/content/44/6378844/html/admin/admin.php on line 317
admin/admin.php line 317 just contains: <tr> it looks to me.
Next, I had the bright idea to remove all of the empty lines, thus altering the numbering to only lines of code. Frontpage has no tool for this. Very tedious, and when I got done there were only 298 lines total! So much for that!
If this was old fashioned html I'd have a shot. PHP is a different story. Can anybody give me a clue as to what I should be looking for? ...and where?
Thanks!
Re: Admin Profiles Support Thread
@abosch
Two issues. I haven't been near FrontPage for a many years time, so this may be unfair, but it used to be really bad even for html editing as it added stuff of its own to files that didn't more often than not got int he way. It was even worse for PHP editing as the stuff it added could break PHP. I'd hope all these years later it had gotten better, but maybe not.
Also, if you changed your lines, but the error is still reported on the same one, that suggests that your changes aren't actually getting to your web server.
I'd recommend starting again on the admin.php file, but using a good text or code editor (NotePad++ is free and very good).
Re: Admin Profiles Support Thread
I got my issue resolved. Found an extra character and missing } in admin.php.
I usually use Crimson Editor for working with the files. I just dusted off Front Page because I wanted to navigate the line numbers.
Thanks for your response.
Re: Admin Profiles Support Thread
My original post......
Zen Cart 1.3.8a
I have installed and went through the install steps (The best that I could understand) and just can't see the icon in my admin area. I edited the english.php file and ran the patches....
I have spent 2 hours going back through and double checking and just at a loss of what could be wrong....
I am supposed to have the "admin" folder in the root directory correct???
(Pulling hair out screaming for help....)
I have went back through and uninstalled and configured and still cannot get the icons to show up in the admin settings area
Re: Admin Profiles Support Thread
@coolbreeze3
You haven't mentioned editing the admin.php file ...
Re: Admin Profiles Support Thread
Hi,
Is admin profiles compatible with ZC 1.3.9f?
If so, are there any code modifications needed for the version currently in the ZC download section?
Thanx.
Re: Admin Profiles Support Thread
Can admin profiles restrict access to only be able to modify certain products when logged in ?
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
nadsab
Is admin profiles compatible with ZC 1.3.9f?
If so, are there any code modifications needed for the version currently in the ZC download section?
It should be, as long as you patch the files rather than using the 1.3.8 version provided.
There was a 1.3.9 version a while ago with extensive rewriting, so released as a beta, but there was very little interest, so it wasn't taken any further.
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
dannyd
Can admin profiles restrict access to only be able to modify certain products when logged in ?
Sadly no. This has been raised a number of times so there are some quite detailed explanations of the reason why earlier in this thread.
Re: Admin Profiles Support Thread
I have 1.37. I installed Admin Profiles. And the 138 patch files.
I log in as the different user and get just the Categories like I want. When I click CATAGORIES I get....
Quote:
1146 Table 'raptorman_ca_-_db.zen_admin_allowed_categories' doesn't exist
in:
[select admin_id from zen_admin_allowed_categories where categories_id = '0']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields
Help me asap!! Thanks.