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!
Printable View
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,
Was there a problem with the updated contribution that you needed to correct? If so, please post the resolution.
No, I explained in my previous post what the issue was. It was not the mod.
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:
I started my post in the Apsona thread ( http://www.zen-cart.com/forum/showpo...&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:Quote:
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.
The file that causes this issue is /includes/boxes/extra_boxes/apsona_app_tools_dhtml.phpQuote:
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.
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 www.mydomain.com/admin/apsona_index.phpPHP Code:
<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\');');
?>
Hopefully someone can help me.:smile:
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
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
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...
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?
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.