hi
How come i got this "Unexpected token < in JSON at position 0"?
its a new installation of ubusinessdirectory just bought it and tried to register a new test customer
and get this error?
regards
Unexpected Token on register customer
Moderator: alexandrleonenko
Unexpected Token on register customer
- Attachments
-
- errorimage.png (24.45 KiB) Viewed 7358 times
Re: Unexpected Token on register customer
Hello Henrik
The problem in submitted parameters via ajax. Perhaps there is an error in the code or for any reason page can not be found. Henrik, please, give a link to a page where you can see the problem.
Regards
The problem in submitted parameters via ajax. Perhaps there is an error in the code or for any reason page can not be found. Henrik, please, give a link to a page where you can see the problem.
Regards
Re: Unexpected Token on register customer
After i removed the new mvc framework and replaced with that which comes with ubusiness i was able to register a test customer.
Re: Unexpected Token on register customer
it also happend on Shopping Cart,
could somebody help me what should be done ?
"unexpected Token S in Json at position 0"
when customer registers
could somebody help me what should be done ?
"unexpected Token S in Json at position 0"
when customer registers
- Attachments
-
- Screen Shot 2017-06-08 at 8.10.55 AM.png (198.68 KiB) Viewed 7158 times
Re: Unexpected Token on register customer
Hello mdony
Do you have the opportunity to give a link to the site where this error is observed?
Do you have the opportunity to give a link to the site where this error is observed?
Re: Unexpected Token on register customer
Hi ne_moj
I've sent the URL to your PM Box.
The User is actually successfully registered, the email notification is sent, the record is shown in the shoppingcart customer menu
Later I'll summary the fix here , so that other can see
best regards
I've sent the URL to your PM Box.
The User is actually successfully registered, the email notification is sent, the record is shown in the shoppingcart customer menu
Later I'll summary the fix here , so that other can see
best regards
Re: Unexpected Token on register customer
Hi
Ok. Thanks.
Ok. Thanks.
-
- Site Admin
- Posts: 6176
- Joined: Jan 7th, '09, 23:18
- Contact:
Re: Unexpected Token on register customer
Check you have following in your .htaccess file:
Code: Select all
<IfModule mod_rewrite.c>
RewriteEngine On
# Exclude images from rewriting rules
RewriteCond %{REQUEST_URI} !(\.gif|\.jpg|\.jpeg|\.png|\.bmp)$ [NC]
# Exclude css files from rewriting rules
RewriteCond %{REQUEST_URI} !(\.css)$ [NC]
# Exclude Javascript files from rewriting rules
RewriteCond %{REQUEST_URI} !(\.js)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
# Rewrite all other URLs to index.php/URL
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>