Author Topic: An Unexpected Error.  (Read 2215 times)

Offline RajaSarma

  • Jr. Member
  • **
  • Posts: 94
  • Karma: +3/-7
    • View Profile
An Unexpected Error.
« on: October 07, 2014, 12:38:38 PM »
Hello everyone!
Now i am using Default_Html5 theme for my AbanteCart site.
And i test my products Add To Cart system by clicking on ADD TO CART button.
When i click on the Add To Cart button, then at the top of the site shown a message with "Unknown Ajax Error".
Whats this?
How can i solve the problem?
Please tell me as soon as possible, please.
Its ****** for me. Please help me.
« Last Edit: December 25, 2014, 08:57:28 AM by RajaSarma »

Offline RajaSarma

  • Jr. Member
  • **
  • Posts: 94
  • Karma: +3/-7
    • View Profile
Re: An Unexpected Error.
« Reply #1 on: October 08, 2014, 01:20:42 AM »
Hey please tell me.
Its ****** for me. Please.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4394
  • Karma: +205/-0
    • View Profile
Re: An Unexpected Error.
« Reply #2 on: October 08, 2014, 01:59:22 AM »
“Chuck Norris is so amazing.”
― Mother Teresa

Offline RajaSarma

  • Jr. Member
  • **
  • Posts: 94
  • Karma: +3/-7
    • View Profile
Re: An Unexpected Error.
« Reply #3 on: October 08, 2014, 02:07:56 AM »
Thanks for your reply.
And when the problem is solve, then can i able to do same page add to cart or same page checkout system?

Offline RajaSarma

  • Jr. Member
  • **
  • Posts: 94
  • Karma: +3/-7
    • View Profile
Re: An Unexpected Error.
« Reply #4 on: October 08, 2014, 02:34:54 AM »
I found the Htaccess file, and file details are-
# 1. To use URL Aliases you need to be running apache with mod_rewrite enabled.

# 2. In your abantecart main directory rename file htaccess.txt to .htaccess

# 3. Edit file .htaccess. If abantecart is installed in yourdomain/ subfolder change configuration line  RewriteBase /
# Example:  yourdomain.com/store   use RewriteBase /
# Important to have / at the end of the line.

# 4. if htaccess and mode_rewrite still does not works - check and set apache2 webserver directive AllowOverride All for your virtual hosts

# For any support issues please visit: http://forum.abantecart.com

Options +FollowSymlinks

# Prevent Directoy listing
Options -Indexes

# Prevent Direct Access to files
<FilesMatch "\.tpl">
Order deny,allow
Deny from all
</FilesMatch>

# SEO URL Settings
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]

And now my question is where can i add the code- RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$  http://www.%{HTTP_HOST}/$1 [R=301,L]
Please tell me Basara.
« Last Edit: October 08, 2014, 02:37:01 AM by RajaSarma »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4394
  • Karma: +205/-0
    • View Profile
Re: An Unexpected Error.
« Reply #5 on: October 08, 2014, 02:42:36 AM »
Try to add to the end of file
“Chuck Norris is so amazing.”
― Mother Teresa

Offline RajaSarma

  • Jr. Member
  • **
  • Posts: 94
  • Karma: +3/-7
    • View Profile
Re: An Unexpected Error.
« Reply #6 on: October 08, 2014, 03:04:55 AM »
Now my problem is solved!
Thank you so much Mr. Basara.
« Last Edit: October 08, 2014, 06:16:08 AM by RajaSarma »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4394
  • Karma: +205/-0
    • View Profile
Re: An Unexpected Error.
« Reply #7 on: October 08, 2014, 04:17:03 AM »
Note: One question in one topic

Also please read forum rules

General Forum Rules
  • Posts are to be made in the relevant forum category. Users are asked to read the forum descriptions before posting.
  • Do not duplicate questions with new post. Use the global search feature for answers to your questions prior to posting.
    Make sure you have read the parent article/post completely before posting a reply.
  • Members should note, that this software is open source and therefore given out for no cost. All members of AbanteCart community volunteer their time and experience in order to aid others.

Post and reply guidelines
  • Because AbanteCart community is supported by volunteers, you need to help them to help you. If you post your question or problem, try to be as clear as possible. Read your message before you post and think if it is clear to others.
  • Include screenshots if you think they will help to see your problem.
  • Keep in mind, if you question is not clear, it is likely to be ignored.

“Chuck Norris is so amazing.”
― Mother Teresa

 

Powered by SMFPacks Social Login Mod