CS: ACCESS DENIED Webmail

Why do I keep getting this error message when I try to log into the webmail?

[QUOTE]Why do I keep getting this error message when I try to log into the webmail?[/QUOTE]



Walmart finally found you on their radar! :smiley:

How about to reply to the 52 other threads you created to assist the community?

[quote name=‘Struck’]Walmart finally found you on their radar! :D[/QUOTE]



Walmart is so large, why would they care about me?

I go the same thing going on. Activated Webmail, then when i click on it and it says: CS:ACCESS DENIED



Checked folder permissions, all are set properly.



Anyone found a solution for this problem?

To admin your WebMail, you need to go to http://[YOUR-SERVER-PATH]/addons/webmail/lib/webmail/web/mailadm.php



login: mailadm

password: 12345



And it doesn’t let you in.



If that’s the case - here’s what you need to do.

To get your password, you have to open this file in your site (CS-Cart) directory:

/addons/webmail/lib/webmail/data/settings/settings.xml

Your mailadm password is in the node in the file.



Now you can login and administer your WebMail.



Just in case. Here you can find help on WebMail: http://[YOUR-SERVER-PATH]/addons/webmail/lib/webmail/web/help/default.htm



Hope this post’ll save to someone a couple of hours trying to figure out why the default password ‘12345’ doesn’t work.

  1. Go to the directory /addons/webmail/lib/webmail/data/settings
  2. Open the settings.xml
  3. Find the node there: this IS your password to administer your webmail
  4. Open http://[YOUR_CS-CART_PATH]/addons/webmail/lib/webmail/web/mailadm.php



    login: mailadm

    password: [you’d just got it from p. 3.]



    Just in case. Here yo can read help on the WebMail: http://[YOUR_CS-CART_PATH]/addons/webmail/lib/webmail/web/help/default.htm



    Hope that’s what you need.

i get a 404 page when access to webmail. Webmail was working at 2.1.2 but not at 2.1.3 even if i upload the old func.php file of the webmail addon

Have you tried uninstalling and reinstalling the addon, I heard sometimes that works but not alwasy - Sno

[quote name=‘elk’]i get a 404 page when access to webmail. Webmail was working at 2.1.2 but not at 2.1.3 even if i upload the old func.php file of the webmail addon[/QUOTE]



Please check the permissions for the “addons” directory of your CS-Cart installation. They should be 755. The same is for “addons/webmail” directory and all its subdirectories and files.

[quote name=‘orangegirl’]Please check the permissions for the “addons” directory of your CS-Cart installation. They should be 755. The same is for “addons/webmail” directory and all its subdirectories and files.[/QUOTE]



thanks a lot.

i had set the permissions of addons/webmail to 755 but not addons folder as well

Hi



Did everyone get to sort this problem out?



All of my permissions are set to 755, but I still can't access the email.



Also when I go to the “[color=#282828][font=arial, verdana, tahoma, sans-serif]settings.xml” file there is a different password there to the one I'm supposed to use. According to my web host I am supposed to be using my own password that i have set up for my email.[/font][/color]



[color=#282828][font=arial, verdana, tahoma, sans-serif]This is what I get in my address bar: [/font][/color][url=“http://www.techgems.co.uk/addons/webmail/lib/webmail/web/index.php?error=1”]http://www.techgems.co.uk/addons/webmail/lib/webmail/web/index.php?error=1[/url]



Even after setting the permission for the index.php file to 755, it doesn't work.



If there are any better suggestions anyone else can make it would be appreciated.



kind regards

Kaz

Literally tried everything to get this addon working again after enabling it to see how it worked in 2.2.3, shortly before I upgraded to 2.2.4. Now I want to re-enable it, I can't login, the dreaded “CS: Access Denied” error - I have checked file/folder permissions, the password stored in settings.xml, etc. I even tried uploading a fresh copy of the entire /addons/webmail/ folder, to no avail. Manually cleared the cache, still nothing. Oh well, looks like it's time to call in the pro's. Will post back when I find out what has caused this problem in my case.

Ok, I have the solution for CS-Cart 2.2.4.



First, create a backup of this file, then edit and upload the changes:



addons/webmail/lib/webmail/web/inc_settings_path.php



Replace:

define('DIR_ROOT', $_root);
define('AREA', 'A');
include($_root . '/config.php');


With:

define('DIR_ROOT', $_root);
define('AREA', 'A');
define('ACCOUNT_TYPE', 'admin');
include($_root . '/config.php');

After the updates above I now get this message “Please wait while WebMail is loading . . .” and nothing happens. Anyone else able to get WebMail to work in 2.2.4?

I commented line 13 in addons/webmail/lib/webmail/web/inc_settings_path.php (CS 3.0.1)



// die('CS: ACCESS DENIED');



and it works now!



Use advanced login if your mail server is elsewhere but on localhost

[quote name='ilib' timestamp='1341318028' post='139795']

I commented line 13 in addons/webmail/lib/webmail/web/inc_settings_path.php (CS 3.0.1)



// die('CS: ACCESS DENIED');



and it works now!



Use advanced login if your mail server is elsewhere but on localhost

[/quote]



This worked fine.

Ive had this same problem. V 2.1.4

Made the changes above but get this msg below, which looks like a PHP version incompatibility issue?

[quote]Error while parsing XML.

Error code 2.

Response text:



Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Antarctica/Macquarie' for 'EST/10.0/no DST' instead in /home/mysite/public_html/myfolder/addons/webmail/lib/webmail/web/common/class_log.php on line 10



Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'xxxxxx_xxxx'@'xxx-xxx.hosting-service.net.au' (using password: YES) in /home/mysite/public_html/myfolder/addons/webmail/lib/webmail/web/db/class_dbmysql.php on line 40[/quote]

Id love to get this webmail working.

Help apreciated.