Zen Cart Logo
Forums / All Other Contributions/Addons / Admin Profiles (for v1.3.x only!) Support Thread

Admin Profiles (for v1.3.x only!) Support Thread

Views: 334,184

Results 181 to 200 of 1,242
26 Jan 2007, 04:58
#181
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

Admin Profiles (for v1.3.x only!) Support Thread

Fatal error: Call to undefined function menu_header_visible() in C:\Program Files\xampp\htdocs\Annron2007\admin\includes\boxes\configuration_dhtml.php on line 13

line 9 if (!defined('IS_ADMIN_FLAG')) {
line 10 die('Illegal Access');
line 11 }
line 12
line 13 if (menu_header_visible('Configuration')=='true') {
line 14 ?>

I did clean install 1.3.7, no data, no other add ons.
Run SQL patch
copied all files (admin folder and extra folder)

I even run 2nd time the SQL patch, still the above error. This is my 3rd try on 3rd store, perhaps if I sleep on it I will wake up with a miracle revelation which will point me in a right direction. What's depressing that I was able to install it without any trouble the first time I tried it (mind you that was on ISP), these tries are on my laptop, I wonder could that be a problem?? Window XP Pro, XAMPP, MySql, Zen Cart 1.3.7)

26 Jan 2007, 23:29
#182
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

Sunabac:

I am testing my "restore" abilities... and cannot get the Admin Profiles. I backed up my database, installed new/clean 1.3.7 on my laptop, restored the database and ftp'ed all files from ISP (where I had the Admin Profiles installed).
I did not installed any mods on my new site (dual pricing, minimum order, ceon cc, admin profiles) thinking it will all come with restored database and all copied files (I kept the "local" config.php in admin/include and in /include). All is working with the exception of Admin Profiles. I run the sql, it did not give me an error. When that did not work I dumped the database and restore them again, but still no Admin Profiles. What is the proper procedure to do it?The process here looks broadly OK, though I'm not sure why you installed a clean copy of 1.3.7, only to overwrite it with the files from your ISP. What was the version running on your ISP? What version of Admin Profiles were you running there? What does "not working" mean? Could you be more specific about what you did and didn't see in respect of Admin Profiles? Do you FTP ALL the files from your ISP or a subset of them?

I also notice that although you say everything else worked, you have posted several other problems in various parts of the forum. The thing that strikes me about these posts taken together is that they are all unusual problems, which suggest to me some incompatibility between the 1.3.7 that you installed and the files that you downloaded form your ISP.

26 Jan 2007, 23:32
#183
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

Sunabac:

*Sorry, your security clearance does not allow you to access this resource.

Please contact your site administrator if you believe this to be incorrect.

Sorry for any inconvenience.*

When I click on Image Handler in admin tools I receive this error after I installed Admin Profiles on a working test site. The site has the following mods installed:
Image Handler2, minimum order, dual pricing, ceon cc
I do not get the icon in admin tools to set Profiles either. I copied all the files into directories, did the box modifications as indicated.
Obviously I am doing something wrong, but cannot figure out what. This is my second attempt (on a different site). See my previous post.This suggested that you didn't follow step 4 of the installation instructions. This step is supported by a file, "updating box files (a step-by-step guide)", that actually uses Image Handler as an example.

26 Jan 2007, 23:40
#184
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

Sunabac:

Fatal error: Call to undefined function menu_header_visible() in C:\Program Files\xampp\htdocs\Annron2007\admin\includes\boxes\configuration_dhtml.php on line 13

line 9 if (!defined('IS_ADMIN_FLAG')) {
line 10 die('Illegal Access');
line 11 }
line 12
line 13 if (menu_header_visible('Configuration')=='true') {
line 14 ?>

I did clean install 1.3.7, no data, no other add ons.
Run SQL patch
copied all files (admin folder and extra folder)

I even run 2nd time the SQL patch, still the above error. This is my 3rd try on 3rd store, perhaps if I sleep on it I will wake up with a miracle revelation which will point me in a right direction. What's depressing that I was able to install it without any trouble the first time I tried it (mind you that was on ISP), these tries are on my laptop, I wonder could that be a problem?? Window XP Pro, XAMPP, MySql, Zen Cart 1.3.7)Re-running the SQL patch will have no effect on this. The problem here is a missing function which is a code issue rather than a database problem.

The function is declared in admin/includes/functions/admin_profiles.php file. So if that's not being found then one of two things is likely to have happened. Either the file has not been copied into your environment properly, so it's not there or in the wrong place. Or it has become corrupted so that its contents are not being properly recognized.

29 Jan 2007, 18:49
#185
marg avatar

marg

Totally Zenned

Join Date:
Mar 2004
Posts:
642
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

Just a quickie to say thanks for the GREAT contribution Kuroi.
Works great on new install of 1.3.7 (If done properly, I suppose!)
Marg

29 Jan 2007, 19:02
#186
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

Thanks Marg, both for the positive feedback and for confirming that Admin Profiles works fine for you on 1.3.7.

Just to clarify for anybody else. The reason that last available download says that it is intended for 1.3.6 is because none of the files affect by Admin Profiles changed in 1.3.7 so no update was needed (though there may be some enhancements on the way :wink2:).

06 Feb 2007, 01:17
#187
silverbitz avatar

silverbitz

New Zenner

Join Date:
Feb 2007
Posts:
22
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

Thanks for this great mod! Works like a charm for me :lol:

06 Feb 2007, 06:24
#188
webgodjj avatar

webgodjj

New Zenner

Join Date:
Apr 2004
Posts:
5
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

Hi, I recently installed your Admin Profiles contribution, however, now I get this error on my login page, any idea what's goin on here? Zen Cart Version 1.3.7:

GUAGES . $_SESSION['language'] . '/', FILENAME_OTHER_IMAGES_NAMES, 'false')); ?>
Warning: Cannot modify header information - headers already sent by (output started at /homepages/25/d193516227/htdocs/shop2/admin/includes/languages/english.php:676) in /homepages/25/d193516227/htdocs/shop2/admin/includes/init_includes/init_templates.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /homepages/25/d193516227/htdocs/shop2/admin/includes/languages/english.php:676) in /homepages/25/d193516227/htdocs/shop2/admin/includes/functions/general.php on line 34

16 Feb 2007, 08:25
#189
andy1234 avatar

andy1234

Zen Follower

Join Date:
Oct 2006
Posts:
148
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

Hi

I have just installed Admin Profiles and "forgotten password" by email link does not work. I am getting a message:

"Sorry, your security clearance does not allow you to access this resource."

I have checked the FAQs on WIKI regarding the fix, but it does not work (in fact I have the latest version - the same line #15 of the admin/includes/init_includes/overrides/init_admin_auth.php

What is wrong here?

16 Feb 2007, 21:42
#190
hemma avatar

hemma

New Zenner

Join Date:
Jul 2006
Posts:
37
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

Hi,

Just wanted to let you know that this mod works fine with my admin area (1.36 upgrade to 1.37), and its excellent! No problems at all during installation, smooth as. Thank you very much!

16 Feb 2007, 21:44
#191
hemma avatar

hemma

New Zenner

Join Date:
Jul 2006
Posts:
37
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

andy1234:

Hi

I have just installed Admin Profiles and "forgotten password" by email link does not work. I am getting a message:

"Sorry, your security clearance does not allow you to access this resource."

I have checked the FAQs on WIKI regarding the fix, but it does not work (in fact I have the latest version - the same line #15 of the admin/includes/init_includes/overrides/init_admin_auth.php

What is wrong here?

actually, I tried this just now, I've got the same issues......

20 Feb 2007, 12:56
#192
florin avatar

florin

New Zenner

Join Date:
Dec 2006
Location:
Bucharest, Romania
Posts:
50
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

I get this error when trying to install Admin Profiles (I have ZenCart version 1.3.7)...

1146 Table 'magazin.zen_admin_menu_headers' doesn't exist
in:
[select id from zen_admin_menu_headers where header = 'Configuration']
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.

What should I do?

20 Feb 2007, 13:50
#193
florin avatar

florin

New Zenner

Join Date:
Dec 2006
Location:
Bucharest, Romania
Posts:
50
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

Mistery solved for me ...
From install.txt I saw:
" ... run the install_admin_profiles.sql file using your preferred tool for executing SQL (e.g. phpMyAdmin). ... " which I did, and it created in my database

admin_allowed_pages
admin_files
admin_menu_headers
admin_visible_headers

So, I copied install_admin_profiles.sql (that is in the admin_profiles_v1_0_6 downloaded pack), and added to all 4 phrases above, zen_ before it, and I ran it in phpMyAdmin, and now it added

zen_admin_allowed_pages
zen_admin_files
zen_admin_menu_headers
zen_admin_visible_headers

and as a consequence, I can see now my admin area again, as before, with the permissions for the admin, included :) Great! :)

25 Feb 2007, 01:25
#194
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

webgodjj:

Hi, I recently installed your Admin Profiles contribution, however, now I get this error on my login page, any idea what's goin on here? Zen Cart Version 1.3.7:

GUAGES . $_SESSION['language'] . '/', FILENAME_OTHER_IMAGES_NAMES, 'false')); ?>
Warning: Cannot modify header information - headers already sent by (output started at /homepages/25/d193516227/htdocs/shop2/admin/includes/languages/english.php:676) in /homepages/25/d193516227/htdocs/shop2/admin/includes/init_includes/init_templates.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /homepages/25/d193516227/htdocs/shop2/admin/includes/languages/english.php:676) in /homepages/25/d193516227/htdocs/shop2/admin/includes/functions/general.php on line 34
This is most likely a problem with the editor that you used to insert the extra lines into your english.php file. somehow it has introduced extra characters into the file that shouldn't be there. Did you edit this via CPanel by chance. If so this is known to be unreliable.

I would recommend going to the end of the file, placing your cursor immediately after the ?> tag and then hitting delete a few times to clear out any garbage that has snuck in. Then resave the file and replace it in admin/includes/languages and try again.

25 Feb 2007, 01:35
#195
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

andy1234:

Hi

I have just installed Admin Profiles and "forgotten password" by email link does not work. I am getting a message:

"Sorry, your security clearance does not allow you to access this resource."

I have checked the FAQs on WIKI regarding the fix, but it does not work (in fact I have the latest version - the same line #15 of the admin/includes/init_includes/overrides/init_admin_auth.php

What is wrong here?
Hmmm. The version with the fix has not yet been released, so I'm afraid that your version must still have the bug. Here's the file that will be included with the next version ->>>>Attachment #1445. The file can simply be used to overwrite the one you already have.

25 Feb 2007, 01:37
#196
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

Florin:

I can see now my admin area again, as before, with the permissions for the admin, included :) Great! :)Glad you got it sorted.

05 Mar 2007, 13:52
#197
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

I'm rebuilding my site with zencart 1.3.7 and useing admin profiles 1.0.6. All has been working well untill I added in SEO URL's 3.0.0 beta 1 . It will not show up in admin, and in the admin profiles screen it has a check box. But if I check the box and hit save changes it reverts to unchecked. I tried manualy adding 106, 1 to the admin allowed pages table, and that fixed the problem, and allows me to use SEO urls. However if I go back to admin profiles and make any change, I loose access again. I think this is related to the fact that there is no admin boxes file for this mod. Any suggestions? I will cross post this in the SEO URL's topic since it is a direct confilict between the mods. Thanks for any help!

11 Mar 2007, 03:02
#198
filmfr3ak avatar

filmfr3ak

New Zenner

Join Date:
Jun 2006
Posts:
35
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

I just installed this on a clean zen 1.36 no crazy mods, Im not that adventurous...

anyway, all directions followed as in the install file.

am not getting THIS error when I try to log in to admin, and I have no navi...

1054 Unknown column 'admin_id' in 'field list'
in:
[select admin_id from zen_admin_visible_headers where header_id = '1']
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.

I have double checked my admin id is 1....
please help.

Im trying to recover from a hacker, and had to totally reinstall my entire site. I thought this would make it easier, if I could have help. and now Im stuck.:no:

11 Mar 2007, 03:24
#199
filmfr3ak avatar

filmfr3ak

New Zenner

Join Date:
Jun 2006
Posts:
35
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

fixed myself. somehow the sql didnt install correctly, I just reran the sql script and all is peaches! :yes:

15 Mar 2007, 02:01
#200
austy25 avatar

austy25

Zen Follower

Join Date:
Feb 2006
Posts:
248
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

This is awesome thank you so much for this contribution. I just have a question. I run a digital scrapbusiness and I'd like my designers to be able to upload their own products and write their own description and for example cubecart - has options to make certain things delete protected and they can only write but not edit anything. I was wondering if there is a mod for that as well ???
Thank you so much.