If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Admin Profiles (for v1.3.x only!) Support Thread

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

Started by kuroi on 17 May 2006, 10:52 AM · Views: 335,815

Results 1,181 to 1,200 of 1,242
2 Oct 2011, 3:44 AM
#1181
chris13 avatar

chris13

New Zenner

Join Date:
Jan 2010
Posts:
15
Plugin Contributions:
0

Post #1181 by chris13

It must not be a new issue but still I would be great full for any help. I have just gotten a new partner who would be helping me in updating my categories in Zen Cart. I was trying to install the admin access module on my Zen Cart 1.3.8.

All links seem to work fine but I cannot see the categories now which my friend has to update. Everytime I click on the categories link, this is what I get.

1146 Table 'chandan_zc4.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 field

I have also tried to replace the categories.php page but to no avail. Have also checked this table, it does not exist in the DB.

Help me sort this issue please.

Thanks,
Chris

2 Oct 2011, 8:22 AM
#1182
kuroi avatar

kuroi

Totally Zenned

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

Post #1182 by kuroi

@chris13 See post #1174, it applies to you too.

You also really need to upgrade to 1.3.9. 1.3.8 has known vulnerabilities that have been published on hacker websites and for which they go looking.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

2 Oct 2011, 6:53 PM
#1183
baby_information avatar

baby_information

New Zenner

Join Date:
Oct 2011
Location:
wigan,uk
Posts:
21
Plugin Contributions:
0

Post #1183 by baby_information

Hi can someone help me please, i have gone to change the admin as it is part of the security and now i keep getting error 403 and cant sign into my admin page or get on my c/panel for zen cart thanks

2 Oct 2011, 7:26 PM
#1184
baby_information avatar

baby_information

New Zenner

Join Date:
Oct 2011
Location:
wigan,uk
Posts:
21
Plugin Contributions:
0

Post #1184 by baby_information

BABY-INFORMATION:

Hi can someone help me please, i have gone to change the admin as it is part of the security and now i keep getting error 404 and cant sign into my admin page or get on my c/panel for zen cart thanks
this is what i am getting 404 Error - File Not Found
The resource you have requested could not be found on the server. There are many possible reasons for this.
Either the file does not exist, there is an error in your request, or the file is not accessible in the requested directory.
Please verify that:
You have used the proper case; requests ARE case-sensitive!
You have entered the URL correctly. (i.e. proper directory/filename)
You used the FULL URL. (i.e. proper file type: .html, .gif , .jpg, etc.)

2 Oct 2011, 11:35 PM
#1185
kuroi avatar

kuroi

Totally Zenned

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

Post #1185 by kuroi

@baby-information, which version of Admin Profiles have you installed?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

4 Oct 2011, 2:43 AM
#1186
tamya avatar

tamya

Zen Follower

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

Post #1186 by tamya

My problem is that when i check the third party mode and save the changes it does not hold, when i try to access some of these third party modes i get this message:
"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 check the permission again i find out that the mod that i wanted to access is unchecked and every thing else is still checked. Any ideas?

my zen cart is 1.3.7

4 Oct 2011, 9:48 AM
#1187
kuroi avatar

kuroi

Totally Zenned

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

Post #1187 by kuroi

@TamyA

There were significant changes to the way in which Zen Cart handles admin forms since 1.3.7. Recent releases of Admin Profile confirm to the new standards, and it sounds as though incompatibilities in this area may be causing your problem.

The only solution that I can suggest is to bring your Zen Cart up-to-date, by upgrading to 1.3.9. This would be standard advise to anyway running 1.3.7 as these sites are vulnerable to being hacked.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

5 Oct 2011, 12:59 AM
#1188
tamya avatar

tamya

Zen Follower

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

Post #1188 by tamya

Thanks Kuroi,

I know i need to upgrade to the latest Zen Cart, what is stopping me is i did not follow the follow the override system of zen cart and lots of changes made directly to core files. I need to see if there is an easy way to upgrade and get the changes from those files to the new version.

Thanks again

11 Oct 2011, 10:39 PM
#1189
ezorb avatar

ezorb

Zen Follower

Join Date:
Apr 2006
Location:
Midland TX
Posts:
426
Plugin Contributions:
0

Post #1189 by ezorb

TamyA:

Thanks Kuroi,

I know i need to upgrade to the latest Zen Cart, what is stopping me is i did not follow the follow the override system of zen cart and lots of changes made directly to core files. I need to see if there is an easy way to upgrade and get the changes from those files to the new version.

Thanks again

Hi TamyA,

This may help you in your upgrade to undo what you have since you did not make changes by following override system. What you are going to do is reverse install and when finished will leave you with the parts to install in the new 1.3.9.h. This also assumes you have working knowledge of Beyond Compare and how to compare and merge files and folders.

Here are the steps:

    1. Make a list of all your 3rd party installs with the version number.
  1. Download your shopping cart and name “Work Copy”.
  2. Download a copy of Beyond Compare.
  3. Download a copy of each 3rd party mod and place in a folder called Mods. Then place each mod in their own folder inside Mods Folder.
  4. Un-Zip each mod inside its Zip up folder and look for any folders called “YOUR_TEMPLATE” folders/files that should been placed in your override folder. Make a note of these 3rd party mods on your list in step 1.0 so you know which later to Change (the name of “YOUR_TEMPLATE” to what you should have named your override folder).
  5. Open Beyond Compare and first load a mod that does not have a override folder in the mod on the “Left Side” and load the “Work Copy” of your shopping cart on the “Right Side”. Next Compare the “Left side” to “Right Side” and DELETE any files that are “equal or the same” from your “Right Side the “Work Copy” ” After you have finished removing all Mods that Do Not have a “YOUR_TEMPLATE” folders you are ready to remove the Mods that are in “Core Files”. Save a copy of the “Work Copy” with Mods removed each time just in case of a mistake.
  6. Make and name a work copy of each Mod that has the “YOUR_TEMPLATE” folder. Next in this work copy mod “REMOVE” the “YOUR_TEMPLATE” folder leaving all folders and files downstream intact.
  7. Load one of these Work Mods from step 1.6 in the “Left Side” just like you did in step 1.5. Compare Left Side to Right Side and preform the same steps in 1.5 loading each of the Work Mods on Left Side from step 1.6. Be sure to save a copy of “Work Copy” after you remove each Mod.
  8. What you now have left is your Shopping Cart with all mods removed, and should only have the changes that make your Shopping Cart different than the Original Basic Zencart.
  9. Now load in Beyond Compare and on the Left Side the Original Version of Zencart you used to build your shopping cart. Do a Compare then remove all files that are equal leaving the folder empty on the Right Side.
  10. Next load each file that is not equal and remove all lines of code on the Right Side that match the Left Side. When finished what remains on the Right Side is the path of empty folders to the few folders containing files with a few lines of code that is the mod “For Your Cart” Save this file inside a Folder called “My zencart Mod” and make a Master Copy.
  11. Load into the Right Side of Beyond Compare zencart 1.3.9h and load on Left Side “MY zencart Mod” merged Left Side into Right Side. Save a copy of “My_Master_zencart_no_Mods” and UpLoad this copy and test to see if appearance of your shopping cart is correct. If all OK you are ready for 3rd Party mods.
    Creating a Master 3rd Party Mod. Be sure first to change the name of “YOUR_TEMPLATE” to your override name on each of the mods.

Take your list of 3rd party mods and load the largest one into Beyond Compare Right Side. Load the next mod in your list and merge into Left Side. Do this with each mod in your list. When finished you will have a Master 3rd Party Mod. that was working with your previous version. Save and name a copy to be merge into your new 1.3.9h from step 1.11 Before you merge your 3rd party mod always make a careful comparison to all files on Right Side “1.3.9h” to make sure you are not going to be overwriting any core files or if you will be you know why/where and if it is OK.
Only use this method after you know the mods works with your shopping cart. Then when new versions of same series of cart are released is simple to update. I have used this method for years now with no problem and I don't install a new unproven mod until it has been tested, if OK then add to your Master 3rd Party mod file.

12 Oct 2011, 1:08 PM
#1190
tamya avatar

tamya

Zen Follower

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

Post #1190 by tamya

Thanks EZorb,

I am about 95% done with the upgrade.
I am doing it on a local server (wampserver), i kind followed something like your guidelines and it has been fun seeing the result coming a long.

Thanks again and you trouble is much appreciated.

16 Oct 2011, 2:40 AM
#1191
ubstampin avatar

ubstampin

New Zenner

Join Date:
Dec 2010
Location:
Arizona
Posts:
3
Plugin Contributions:
0

Post #1191 by ubstampin

I have a problem. I can't log into admin. It's saying wrong username or password. Is there a way to retrieve the password or get in and change it? Don't know what to do. Thanks for anyones help.

16 Oct 2011, 9:45 AM
#1192
kuroi avatar

kuroi

Totally Zenned

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

Post #1192 by kuroi

ubstampin:

I have a problem. I can't log into admin. It's saying wrong username or password. Is there a way to retrieve the password or get in and change it? Don't know what to do. Thanks for anyones help.Admin Profiles doesn't go anywhere near the login mechanism of the admin password. I suggest that you just use the normal process described in the FAQ.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

1 Nov 2011, 9:35 PM
#1193
eraserx avatar

eraserx

New Zenner

Join Date:
Nov 2011
Posts:
6
Plugin Contributions:
0

Post #1193 by eraserx

I installed the Admin Profiles plugin and updated all of the PHP scripts, as per the installation instructions. I double checked the changes I made, but the following error is still occuring:

1146 Table 'erezer_net_13.zen_pet_storeadmin_menu_headers' doesn't exist
in:
[SELECT id FROM zen_pet_storeadmin_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.

I searched the Internet, the support forum and this thread for an answer to this problem and I still cannot find an answer.

This thread is huge, so it could be cumbersome to read the entire thread to find an answer for this problem in the time I need it solved.

1 Nov 2011, 9:56 PM
#1194
eraserx avatar

eraserx

New Zenner

Join Date:
Nov 2011
Posts:
6
Plugin Contributions:
0

Post #1194 by eraserx

Also, I'm using ZenCart v1.3.9h (supposedly current) with Admin Profiles Version: 1.1.1.

2 Nov 2011, 10:05 AM
#1195
kuroi avatar

kuroi

Totally Zenned

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

Post #1195 by kuroi

The message is telling you that a table doesn't exist. Have you looked in your database to see whether or not it's there?

How did you install the extra tables for this add-on?

The message also implies that you are prefixing all your database table names with the prefix "zen_pet_store". Is this correct?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

2 Nov 2011, 7:08 PM
#1196
eraserx avatar

eraserx

New Zenner

Join Date:
Nov 2011
Posts:
6
Plugin Contributions:
0

Post #1196 by eraserx

kuroi:

The message is telling you that a table doesn't exist. Have you looked in your database to see whether or not it's there?

How did you install the extra tables for this add-on?

The message also implies that you are prefixing all your database table names with the prefix "zen_pet_store". Is this correct?

No, I haven't looked to see if the table exists. I didn't install any tables. All I did was follow the installation instructions. Copy over the directories and make the appropriate modifications to the PHP files. I didn't add anything into the array in line 23 of admin/includes/init_includes/overrides/init_admin_auth.php, as the installation instructions say that it is usually not needed. I really don't know jack about MySQL.

I think I used the wrong instructions when I installed the add-on. I think I misunderstood the "fresh installation" instructions as going with a fresh installation of Zen Cart and the "upgrade" as being to upgrade a current Zen Cart installation. How I made that mistake, I don't know. Seems to be common sense, and it was probably a mental glitch on my part. I will probably have to uninstall the add-on and then re-installl it with the correct procedure. I apologize for taking up support space with this mistake. :oops:

2 Nov 2011, 7:56 PM
#1197
kuroi avatar

kuroi

Totally Zenned

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

Post #1197 by kuroi

If you have already added the files correctly (and the error would seem to imply that you have) then you need only add the tables.

However, there's a catch. By adding the files you prevent yourself from accessing the Zen Cart feature to add run the SQL that adds the tables. So it would need to be done by hand with your database prefix edited into the SQL by hand and then it being run via a third party app such as phpMyAdmin.

I have the impression that might not be something with which you're comfortable - in which case removing the files and re-installing using the installation instructions would be a better option.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

2 Nov 2011, 10:11 PM
#1198
eraserx avatar

eraserx

New Zenner

Join Date:
Nov 2011
Posts:
6
Plugin Contributions:
0

Post #1198 by eraserx

I've used PHP admin a little bit, and I can do what I need to do if I know precisely how to do it.

I attempted to install this add-on again, and this time I did not neglect to do the DB update. My site broke again. When I went to browse -> select file -> install_admin_profile.sql, it just kind of refreshed the page, and didn't tell me whether or not the upgrade was successful.

Maybe it would have worked better, had I copied and pasted the DB into the text box at the DB update screen?

I backed up the MySQL databases in phpMyAdmin (hopefully the right way), and I only commented out the lines of PHP I changed this time. Hopefully I can quickly revert Zen Cart to the form I had it in before I made the changes that broke the site, and then later, install the plugin the right way.

4 Nov 2011, 3:00 AM
#1199
eraserx avatar

eraserx

New Zenner

Join Date:
Nov 2011
Posts:
6
Plugin Contributions:
0

Post #1199 by eraserx

So I'm still not sure how to install this plugin the "right way", and I need a little help here.

10 Nov 2011, 2:50 PM
#1200
myemmadoodle avatar

myemmadoodle

New Zenner

Join Date:
Oct 2008
Posts:
45
Plugin Contributions:
0

Post #1200 by myemmadoodle

Hi! I've had admin profiles for nearly a year now? Many, many months it seems- anyway, I'm not sure what version I have or how to find that information out, but I went to install Sales Mod and my sales mod won't work at all, it kicks me back to the log in page, and I'm not getting any help over at the sales mod thread, so I'm wondering if anyone else has experienced and issue with the conflicting mods? "You are presently using: v1.3.9d" Please don't ask me to update my version of zen either, it scares me! :shocking::blink::(:P:unsure:

any help would be awesome, thank you!