Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Hi, I have a problem:
I am using a database prefix, and I should run the install_adminlevels.sql, but I can't find the file. I searched the forum and found someone with the same problem, but then he said that he fixed it, but didn't said how. Please help, thanks!
I found (here) that install_adminlevels.sql is in fact install_admin_profiles.sql so I tried that one, but got this error message:1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'install_admin_profiles.sql' at line 1
Last edited by fr33pr0d; 13 Jul 2007 at 02:54 AM. Reason: update:
After a little work (it was my first time running an *.sql script) I got the idea.
If anyone else encounters this problem,open install_admin_profiles.sql with notepad or wordpad, and copy everything in there. Go to Admin area, Tools->Install SQL patches and paste all of it in 'Enter the query to be executed:' box.
Now it works fine!![]()
2 fr33pr0d
Apologies for the confusion. It's a silly typo that went un-noticed (or at least uncommented upon) through 5 releases despite my re-working the install instructions for each release.
It is fixed in the instructions for the next release. There just hasn't been a next release for a while!
Thank you for posting this helpful guidance for other users.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
I am trying to install Admin Profiles and thought I had it working but when I went back to my storefront I got this:
Warning: require(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php) [function.require]: failed to open stream: No such file or directory in /home/lincoln6/public_html/shop/includes/languages/english.php on line 50
Fatal error: require() [function.require]: Failed opening required 'DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lincoln6/public_html/shop/includes/languages/english.php on line 50
I actually fixed this problem which was the result of dropping the "english.php" file into the wrong folder. Duh!!
So...Now I've reinstalled admin_profiles 1.0.6 and I get this error in when I go into tools>admin settings
Fatal error: Cannot redeclare class base in /home/lincoln6/public_html/shop/includes/classes/class.base.php on line 17
On my first installation I did create an additional admin account. I am able to log in with either one but can't get into the admin settings.
Thanks for any help.
Brett
Uh, I thought I installed admin profiles according to the instructions, and ran the sql correctly, but i don't see any result - and wonder if i need to install the 'extras' somewhere - but i really can't seem to figure out where to place them and which of the extras i should use. i'm sure this is simple to fix, but can't find answers in any threads.
any help ?
thanks.
This is a symptom of a rather screwed up Zen Cart. Your expereinces from your previous post may provide some clues. I would look carefully at your admin/admin.php and your admin/includes/application_top.php files and compare them to the default Zen Cart versions.
Beyond that I can add only that this is nothing to do with Admin Profiles which does not attempt to instantiate any classes, and so this is really outside of my area of expertise.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
You've not given me much to go on. Which version of Zen Cart are you using, and which version of Admin Profiles? Have you checked that all the files are in the locations listed in step 2 of the installation instructions? Did you do all three of the code patches? And is so which of the alternatives for patch 1 and patch 2 did you do?
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Hey everyone,
I'm getting a weird error when a FRESH install of 1.3.7 -
I used the patched files plus the sql install both in my phpMyadmin (1st time) and my Install SQL Patches (2nd time).
I get this error every time when i click on permissions (which by the way isn't the image, just a text link)
500 Error (Internal Server Error) due to it trying to reach this link..
/admin/FILENAME_ADMIN_CONTROL.php?adminID=1
Any ideas on WHY this is happening??
Thanks in advance,
Brad
Bookmarks