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

Results 1,081 to 1,100 of 1,242
28 Dec 2010, 1:23 AM
#1081
jtlmusic avatar

jtlmusic

New Zenner

Join Date:
Feb 2009
Posts:
15
Plugin Contributions:
0

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

The updated version is now posted. Again, I don't take credit for Kuroi's work, just wanted to get the new version posted for others, plus make the minor tweaks to ensure compatibility with 1.3.9h.

30 Dec 2010, 6:10 AM
#1082
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

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

I just installed the updated version, but every page in the admin is now blank, including the login screen. I'm not sure what the problem is? I installed on 1.3.9g.

Danielle

30 Dec 2010, 6:30 AM
#1083
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

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

OK, the blank page only happens on certain pages. I don't know them all yet, but for example, it happens every time I try to clean the admin activity log. It also happens every time I try to save new user permissions. I checked the error log and this is the error whenever there is a blank page:

[29-Dec-2010 23:29:07] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home3/babyonb1/public_html/storemanager/includes/functions/database.php:171) in /home3/babyonb1/public_html/includes/functions/sessions.php on line 114
[29-Dec-2010 23:29:07] PHP Warning: Cannot modify header information - headers already sent by (output started at /home3/babyonb1/public_html/storemanager/includes/functions/database.php:171) in /home3/babyonb1/public_html/storemanager/includes/init_includes/init_templates.php on line 28
[29-Dec-2010 23:29:07] PHP Warning: Cannot modify header information - headers already sent by (output started at /home3/babyonb1/public_html/storemanager/includes/functions/database.php:171) in /home3/babyonb1/public_html/storemanager/includes/functions/general.php on line 21

Danielle

30 Dec 2010, 6:32 AM
#1084
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

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

It also happens whenever I add a new user. When I click Save, a blank screen comes up. If I go back and then refresh, the new user was created.

Danielle

30 Dec 2010, 6:43 AM
#1085
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

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

OK, I fixed it. I apologize, somehow some blank lines got in some of the other files in the admin/includes/functions directory. I can't understand how it happened, but it all seems to be working now!

Danielle

30 Dec 2010, 1:15 PM
#1086
jtlmusic avatar

jtlmusic

New Zenner

Join Date:
Feb 2009
Posts:
15
Plugin Contributions:
0

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

Danielle,

Was there a problem with the updated contribution that you needed to correct? If so, please post the resolution.

30 Dec 2010, 8:20 PM
#1087
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

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

No, I explained in my previous post what the issue was. It was not the mod.

Danielle

3 Jan 2011, 1:18 PM
#1088
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Location:
United Kingdom
Posts:
606
Plugin Contributions:
0

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

Has anyone else had any problems running Apsona ShopAdmin and Admin Profiles with V1.3.9h? I have no problems with V1.3.8a.

On a stock install with only Admin Profiles and Apsona installed I get the following error:

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 'apsona_index');'' at line 1
in:
[SELECT id FROM zen_admin_files WHERE page = '#" title="Apsona ShopAdmin - opens in new window" onclick="apsona_showPopup('apsona_index');']
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 started my post in the Apsona thread ( http://www.zen-cart.com/forum/showpost.php?p=978033&postcount=155 ) but they have confirmed this is probably an Admin Profiles issue so thought I transfer the thread here. This was the reply from Apsona:

I'm not sure I fully understand the way admin profiles works, but the SQL is definitely incorrect. The admin profiles add-on should be checking for the page named apsona_index.php, but instead it is page named this:

Code:

#" title="Apsona ShopAdmin - opens in new window" onclick="apsona_showPopup('apsona_index');

To me this seems like an error in the way the admin profiles add-on was configured. I am aware of some other folks on this forum that have used admin profiles in conjunction with ShopAdmin, so I hope one of them can help.

The file that causes this issue is /includes/boxes/extra_boxes/apsona_app_tools_dhtml.php

<script type="text/javascript">
var apsonaWindow = null;
function apsona_showPopup (url) {
    var win = window.open (url, "apsona");
    if (!win) {
        alert ("Your browser seems to be blocking popup windows.\nPlease change its settings to enable popups.");
        return null;
    }
    apsonaWindow = win;
    try {  win.focus(); } catch (e) { /* Sometimes IE throws a security exception here, so I'm forced to ignore it. */ }
    return win;
}
</script>
<?php
  $za_contents[] = array('text' => "Apsona ShopAdmin", 'link' => '#" title="Apsona ShopAdmin - opens in new window" onclick="apsona_showPopup(\'apsona_index.php\');');
?>

If I delete it all functionality returns except I obviously don't have the Apson Menu under Tools. I can however access Apson by manually browsing to https://www.mydomain.com/admin/apsona_index.php

Hopefully someone can help me.:smile:

19 Jan 2011, 5:32 PM
#1089
omerhanif avatar

omerhanif

Zen Follower

Join Date:
Aug 2009
Location:
London
Posts:
106
Plugin Contributions:
0

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

Hi , I Installed admin profile Version: 1.1.1on Zen Cart™ Version: v1.3.9h, when i create another user and login through new user i do not see any menu options at all, does not matter if i check or uncheck any option for new user under admin profile ? plz help. Regards

7 Feb 2011, 4:56 AM
#1090
zfw88788301 avatar

zfw88788301

New Zenner

Join Date:
Dec 2010
Posts:
28
Plugin Contributions:
0

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

omerhanif:

Hi , I Installed admin profile Version: 1.1.1on Zen Cart™ Version: v1.3.9h, when i create another user and login through new user i do not see any menu options at all, does not matter if i check or uncheck any option for new user under admin profile ? plz help. Regards

I got a same problem that I have installed Admin Profiles and now all my Admin menus have disappeared! Please help!! Thanks A lot!

11 Feb 2011, 7:22 PM
#1091
raceface2nd avatar

raceface2nd

New Zenner

Join Date:
Feb 2011
Posts:
1
Plugin Contributions:
0

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

Hi guys!

I installed admin_profiles 1.1.1 on the german version of zen cart 1.3.9. All the basic functions seem to work. But within the Configuration function list (in the admin backend) I find all links in german and english. Not within the tools, extras, etc. only within configuration.

What can I do to see only the german links in there?

Regards

Andy

16 Feb 2011, 3:56 PM
#1092
paperthreads avatar

paperthreads

Zen Follower

Join Date:
Sep 2006
Posts:
142
Plugin Contributions:
0

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

Brent:

Has anyone else had any problems running Apsona ShopAdmin and Admin Profiles with V1.3.9h? I have no problems with V1.3.8a.

On a stock install with only Admin Profiles and Apsona installed I get the following error:

Yes, I ran into the same exact error. Thanks for the information on deleting the apsona_app_tools_dhtml.php

At least I can access my Admin now, if not directly access Apsona....can get to it round about....but would be nice to fine how to fix this error.

One other thing, on the Admin Settings panel, I get the "permissions" icon twice, not sure why...

19 Feb 2011, 6:01 PM
#1093
rxalex avatar

rxalex

Totally Zenned

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

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

I have the same issue with apsona and admin profiles... but cant even access apsona manually by apsona_index.php , I get denied permission... any fix for this?

19 Feb 2011, 6:24 PM
#1094
rxalex avatar

rxalex

Totally Zenned

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

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

Had to uninstall this mod.. Too much denied access to third party software.. There needs to be some adjustments made to allow things otherwise an awesome mod if you do not need to install anything else.

20 Feb 2011, 9:58 PM
#1095
paperthreads avatar

paperthreads

Zen Follower

Join Date:
Sep 2006
Posts:
142
Plugin Contributions:
0

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

Yes, you need to go into your TOOLS>Admin Settings, and select the P icon (for permissions) for you user login.

Then, make sure you select all the menus/tools/mods that you want your logon to have access too! (It's the purpose of this mod to allow you to set what permissions/access each admin logon has access too, as part of that, you have to make sure you give your "master" admin access to everything!)

For the Apsona access, you need to make sure you have checked/selected the following:
salemaker info
salemaker popup
apsona index

Once you have given yourself permission to these contributions, then you should be able to input that address into your browser address bar, and it should take you to the Apsona module.

21 Feb 2011, 4:17 AM
#1096
rxalex avatar

rxalex

Totally Zenned

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

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

Thanks, but also other mods like amazon mod doesnt work show up in the admin menu at all... Hopefully there will be a fix so that you can use things without typing in specific locations. Although this mod is awesome for security/control of other admin users.

28 Feb 2011, 6:03 AM
#1097
bmloho avatar

bmloho

New Zenner

Join Date:
Feb 2011
Posts:
1
Plugin Contributions:
0

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

Simple way to restrict access within pages

e.g stats on the main page

Get the admin id's that you want to allow access to the content

Insert above

The first <div class="reportBox"> about line 80

<?php if ($_SESSION['admin_id = 1,2,4,']) { ?>

Insert below the second closing </div> around line 167

<?php } else { ?> Insert any Content here you want to show to restrited access<?php } ?>

It's simple but it works, hope it helps

Cheers

1 Mar 2011, 4:12 PM
#1098
parsie avatar

parsie

New Zenner

Join Date:
Jan 2011
Posts:
2
Plugin Contributions:
0

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

WOW, pls help me I changed my admin progfile and can´t access any part of my shopbackend! Pls can anybody tell me how to revert this. How will I get my menu items back? PLS Help.

Kind regards Patrick

2 Mar 2011, 8:46 PM
#1099
ehkho avatar

ehkho

New Zenner

Join Date:
Jun 2009
Posts:
5
Plugin Contributions:
0

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

ZC Version: 1.3.9h

Upgraded from 1.3.8a to latest; all working perfectly, then tried to upgrade Admin Profiles and all I get are white pages. Have checked the code for white space, syntax errors etc and I can't see why or how it's happening...any assistance would be greatly appreciated.

2 Mar 2011, 8:49 PM
#1100
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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

Peek in the /cache directory and it should show debug logs to indicate where the problems may be ...

If you see no error logs then make sure the /cache directory is writable ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!