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,211

Results 741 to 760 of 1,242
21 Jun 2009, 10:16 AM
#741
kuroi avatar

kuroi

Totally Zenned

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

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

dealbyethan.com:

Hi, I just installed Admin Profiles but when I go to admin > Tools > admin settings, it goes to my catalog instead. What did i do wrong? Please help.This is a problem in your environment rather than in Admin Profiles. When Admin Profiles does page redirects it is always to a "Page Denied" screen, not the catalog home page. And the point at which you are experiencing this problem is before you have even attempted to get to the admin_control page (accessed from admin settings) that does the heavy lifting for AP.

My guess is that you have a version incompatibility issue in your cart. You haven't said how you installed AP. Did you patch the admin.php file or use the 1.3.8 version provided (which may have some incompatibilities with your 1.3.7 site)?

21 Jun 2009, 10:28 AM
#742
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

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

Hi Kuroi,

Thanks for your response. I am using v1.3.7. I thought the latest Admin Profiles was compatible with v1.3.7. I installed Admin Profiles first by patching the admin.php file myself but it didn't work. Then I use the v1.3.8 version provided but the problem persists. The admin.php files from v1.3.7 and v1.3.8 look identical.

21 Jun 2009, 12:46 PM
#743
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

dealbyethan.com:

The admin.php files from v1.3.7 and v1.3.8 look identical.
You're right they are. And since you tried patching and replacing, that's not the answer. But you problem is most likely that you're not getting to this file anyway. There was an outside chance that you were getting into to it and then being redirected away. This can be tested by inserting some debug statements into it.

But first, what is the URL that appears bottom left of your browser when you hover over the admin settings link in the admin menu?

21 Jun 2009, 12:58 PM
#744
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

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

Hi, the url is mywebsite.com/admin/admin.php

For your information, I did rename the admin folder to something else. Will this be a problem?

22 Jun 2009, 5:52 AM
#745
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

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

I am afraid I will have to uninstall this module as I still can't figure out what went wrong.

How do I uninstall? Is there an uninstall script or sql?

22 Jun 2009, 9:51 PM
#746
chelgeson avatar

chelgeson

New Zenner

Join Date:
Apr 2009
Posts:
20
Plugin Contributions:
0

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

I have just recently found this thread/post, and I couldnt believe it when I started reading through and found "dserhal" posting a couple days ago. This is EXACTLY what I have wanted to achieve.

I originally wanted a site similar to etsy.com"]www.etsy.com or bigcartel.com
They allow a user to create an account and create their own SIMPLE store which they can add, modify, and link a paypal account to. After a lot of digging I realized this would require some expensive custom programming and decided to open a storefront with Zen cart.

With some other mods I have really made Zen Cart work for me and am happy with the direction. However. just like "dserhal" it would be great to now allow my "vendors" access to only their products and categories and allow them to edit and add at will. This way I wouldnt have to do all the modifications when they have a new product etc. Is there a way to do this with this mod...or any others out there that anyone knows of?

Thanks so much for the additions and help!

Cody

22 Jun 2009, 10:12 PM
#747
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

dealbyethan.com:

How do I uninstall? Is there an uninstall script or sql?Uninstalling is little more than reversing the installation instructions - if anything it's easier.

Replace the box files with the equivalents from a fresh Zen Cart release pack. Reverse the patches listed on step 3. Delete the files listed in steps 2. Delete the admin_menu_headers, admin_visible_headers, admin_files and admin_allowed_pages tables from your database and you're done.

23 Jun 2009, 5:35 AM
#748
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

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

Thanks Kuroi. What a shame. We were so looking forward to making use of this module. Why didn't it work for us? Are we the only one?

23 Jun 2009, 7:59 AM
#749
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

dealbyethan.com:

Thanks Kuroi. What a shame. We were so looking forward to making use of this module. Why didn't it work for us? Are we the only one?The mod has been around for over three years and it's the first time I've heard of a problem like this and, from your description of the symptoms, I still not convinced that Admin Profiles was the culprit.

23 Jun 2009, 3:14 PM
#750
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

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

Hi Kuroi,

This is getting very strange. We uninstalled the module by deleting and restoring files as well as dropping those tables from the database but we still can't access Tools > Admin Settings. It keeps going to the catalog homepage. What is going on? We swear before installing this module, we could access it. Please help.

23 Jun 2009, 3:37 PM
#751
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

dealbyethan.com:

This is getting very strange. We uninstalled the module by deleting and restoring files as well as dropping those tables from the database but we still can't access Tools > Admin Settings. It keeps going to the catalog homepage. What is going on? We swear before installing this module, we could access it. Please help.It would have been more strange if it had solved the problem. Admin Profiles isn't doing anything at the point at which you experience the issue, so although you see the problem as having arrived when you installed it, I can't see any way that AP could have caused it.

To track this down, I think you're going to need to insert some debug statements into your admin pages to trap the point at which the redirect occurs, and then track back to the cause.

23 Jun 2009, 3:52 PM
#752
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

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

Hi Kuroi

How do we insert some debug statements?

24 Jun 2009, 10:38 AM
#753
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

The recently-released Admin security patch adds a security token to most forms that update the database. More security is a good thing. However in this case the new security token prevents current versions of Admin Profiles from updating admin user profiles.

Attached is a patch that makes Admin Profiles files compatible with the Zen Cart patch. Simply replace your admin/admin_control.php file with the one in the zip archive below. The Admin Profiles patch will work whether or not you have the Zen Cart security patch installed, and so is recommended.

Attachment #5960

A full updated version of Admin Profiles will be submitted to the downloads area for approval within the next few minutes.

24 Jun 2009, 10:56 AM
#754
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

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

Hi Kuroi

How do I insert debug statements to find out what my issue is?

28 Jun 2009, 11:49 AM
#755
robbie_79 avatar

robbie_79

New Zenner

Join Date:
Oct 2008
Location:
Netherlands
Posts:
26
Plugin Contributions:
0

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

kuroi:

Attachment #5960

Thanks Kuroi, your a life saver :wink:

28 Jun 2009, 1:42 PM
#756
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

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

kuroi:

The recently-released Admin security patch adds a security token to most forms that update the database. More security is a good thing. However in this case the new security token prevents current versions of Admin Profiles from updating admin user profiles.

Attached is a patch that makes Admin Profiles files compatible with the Zen Cart patch. Simply replace your admin/admin_control.php file with the one in the zip archive below. The Admin Profiles patch will work whether or not you have the Zen Cart security patch installed, and so is recommended.

Attachment #5960

A full updated version of Admin Profiles will be submitted to the downloads area for approval within the next few minutes.

Thanks for the Admin Profiles patch for the ZC security patch.

I had overlooked it before today. Is there a way you could send out to other Admin users a single notice about your update? I just worry that other Admin Profile users who might have missed the first Admin Profiles security patch notice will find themselves later locked out (and I bet cause some confusion on this thread).

Just a thought.
Sawhorse

29 Jun 2009, 9:46 PM
#757
smatric avatar

smatric

New Zenner

Join Date:
Feb 2009
Location:
BC, Canada
Posts:
10
Plugin Contributions:
0

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

Hi,

I'm using Zen Cart v1.3.8a/v1.3.8 with Admin Profile. I'm not sure about it's version so I'm just pasing a header:

/**

  • @package admin profiles

  • @copyright Copyright kuroi web design 2006-2007

  • @copyright Portions Copyright 2004 Jonathan Kontuk

  • @copyright Portions Copyright 2003 osCommerce

  • @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

  • @version $Id: admin_profiles.php - last updated 2006-05-01 by kuroi

*/

My problem is that even if I log in as the most privileged user (I tested it also with another administrative user account) I cannot set up user permissions. I am able to see f.ex. this page: http://<my_domain>/store/<admin_path>/admin_control.php?adminID=3 and I am able to check any fields abut as soon as I click "Save Changes" it takes me to admin's home page and when I check again user settings they are NOT changed.

Thy only way I can modify them is to change <prefix>_allowed_pages DB table.

Can you please help me to fix it?

29 Jun 2009, 10:50 PM
#758
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

Sawhorse:

Is there a way you could send out to other Admin [Profiles] users a single notice about your update?Anybody can download use Admin Profiles from the downloads area with no need to identify themselves. Also many developers put it on sites for their clients. So there is no central registry of users and the only way that I know of to communicate with people with an interest in this mod is via this thread.

29 Jun 2009, 10:52 PM
#759
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

smatric:

My problem is that even if I log in as the most privileged user (I tested it also with another administrative user account) I cannot set up user permissions. I am able to see f.ex. this page: http://<my_domain>/store/<admin_path>/admin_control.php?adminID=3 and I am able to check any fields abut as soon as I click "Save Changes" it takes me to admin's home page and when I check again user settings they are NOT changed.Sounds like you've applied the Zen Cart security patch, but not the Admin Profiles patch that goes with it. Look back 6 posts.

30 Jun 2009, 6:01 PM
#760
smatric avatar

smatric

New Zenner

Join Date:
Feb 2009
Location:
BC, Canada
Posts:
10
Plugin Contributions:
0

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

kuroi:

Sounds like you've applied the Zen Cart security patch, but not the Admin Profiles patch that goes with it. Look back 6 posts.

Thank you so much. That's exactly what I needed.