Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
This is what my code says: (not sure how I applied the patches wrong when this was the file given to me from the zip file : / I even tried relocating that last script to just about the </html> tag thinking maybe it was out of place..but then it told me the error was on line 347.
338 <!-- body_eof //-->
<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
346 <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
Awesome! Fixed the problem! The last line of code (Line 346) on the admin.php file, it's missing a '}' at the front of the closing php tag!
But NOW...I have a new problem, I can't add additional users!!
From the Admin Settings page, I click 'Insert' to create a new user, but the only thing that happens is the Insert button disappears and the url changes to what SHOULD be the add new user page!
Any thoughts or suggestions on this one?
Hello Kuroi,
I run a website useing 1.3.8.a zen cart and use the Admin Profiles, previously it run welll, and then we have change some add-ons, like sitemap, update it the latest, and add the ceon url mapping rewrite modual, and today I want to set the admin files, when I tick some menu for the admin user, and click save it saved and returned to main page of admin, but when I check again about it, found that the menu which choose to tick is not tick at all,
that means, the admin files can't save it.
Could you tell me that the problem is? Thank you very much
Sort of. I'm not convinced that your fix was correct. The line number reported is merely where the PHP parser detected the problem of the missing bracket. The place from which it was missing would have been rather earlier.
So although you've managed to get past the error, the underlying problem is still there.
Trouble is it doesn't resolve any that I've seen before, so is specific to your site, making it difficult to comment with greater clarity.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Last edited by alan145; 6 May 2011 at 11:23 AM. Reason: change
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Last edited by alan145; 6 May 2011 at 01:33 PM. Reason: change
I'm trying to install Apsona ShopAdmin and am getting a particular error, so I contacted their support and they referred me to this thread. After doing some reading on it, it seems the error in trying to install the this mod is based on some incorrect SQL syntax from this mod, Admin profiles.
I'm trying to do all this on my install of 139H. The install error that I get when trying to install ShopAdmin is as follows:
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 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.
It seems to stem from this line in apsona_app_tools_dhtml.php:
$za_contents[] = array('text' => "Apsona ShopAdmin", 'link' => '#" title="Apsona ShopAdmin - opens in new window" onclick="apsona_showPopup(\'apsona_index.php\');');
Does anyone have a fix for this, to make ShopAdmin work with Admin Profiles? I'm using the Admin profiles for 139h.
Thank you,
autoace
Bookmarks