Search found 63 matches

Search found 63 matches

Re: Enable download of files inside opencart subdirectory not working, .htaccess

# STARTNITRO ExpiresActive On #CSS JS XML TXT - 1 WEEK <FilesMatch "\.(xml|txt|css|js)$"> Header set Cache-Control "max-age=604800, public" ExpiresDefault "access plus 1 week" </FilesMatch> #JPG JPEG PNG GIF SWF SVG - 1 MONTH <FilesMatch "\.(jpg|jpeg|png|gif|swf|svg|JPG|JPEG|PNG|GIF|SWF|SVG)$"> Hea...

Jump to post
  • Tue Mar 14, 2017 10:24 am
  • Replies 11
  • Views 1587
Re: Enable download of files inside opencart subdirectory not working, .htaccess

it gives a lot of info, including: './configure' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/opt/cpanel/ea-php54/root/usr' '--exec-prefix=/opt/cpanel/ea-php54/root/usr' '--bindir=/opt/cpanel/ea-php54/root/usr/bi...

Jump to post
  • Mon Mar 13, 2017 9:45 am
  • Replies 11
  • Views 1587
Re: Enable download of files inside opencart subdirectory not working, .htaccess

Do you mean put this in .htaccess file in the subdirectory, or add this to the main .htaccess file?
I tried to put in .htaccess in subdir, no change

Jump to post
  • Sun Mar 12, 2017 6:18 pm
  • Replies 11
  • Views 1587
Enable download of files inside opencart subdirectory not working, .htaccess

I have some document files that should be possible to directly download in a subdirectory in opencart. I put a new .htaccess inside this directory, but it's still not working, I only get message from opencart: THE PAGE YOU REQUESTED CANNOT BE FOUND! The page you requested cannot be found. Is it not ...

Jump to post
  • Sat Mar 11, 2017 11:13 am
  • Replies 11
  • Views 1587
How does adding new products affect SEO?

Is it good or bad for SEO to add another line of products that is not directly related to the main product line ?

Jump to post
  • Thu Jul 14, 2016 8:04 pm
  • Replies 1
  • Views 324
Re: [SOLVED] Admin, Add or Edit Order - Unexpected end of in

The issue is that this error can be caused by many different issues. I hired 4 people helping with this, and only one of them found the reason (in my case). If you have not enabled Maxmind then it is already disabled. I'd recommend you hire somebody (check upwork.com or similar). Or downgrade to 1.5...

Jump to post
  • Thu Jul 16, 2015 3:24 pm
  • Replies 88
  • Views 51952
Re: Editing orders dont work 2.0.1.1

nick5000 wrote:Any update on this?
It's strange that such a basic function doesn't work on fresh install.
What settings to change for curl in order to get it to work?
For the record for anybody that finds this thread; In my case it was caused by Maxmind module. Disabling it fixed the issue.

Jump to post
  • Mon Jul 06, 2015 12:56 am
  • Replies 112
  • Views 30745
Re: OpenCart 2.0 Curl/Http Loopback Workaround!

Can somebody tell me.how to enable curl loopback calls in cpanel / WHM ? http://lmgtfy.com/?q=enable+http+loopback+connections I didn't find any clear answer to this after googling for a while. Some pages suggest a apache setting file need to be created for each domain, some blame /etc/hosts, other...

Jump to post
  • Mon Jul 06, 2015 12:55 am
  • Replies 40
  • Views 82758
Re: [SOLVED] Admin, Add or Edit Order - Unexpected end of in

I fixed it with the help from a programmer. The issue (at least in my case) is with Maxmind Fraud, which isn't compatibale with 2.0, while being included in core 2.0 Disabling maxmind fixed the issue. The error: PHP Fatal error: Call to undefined method ModelFraudMaxMind::getFraud() in /home/XXX/pub...

Jump to post
  • Sun Jul 05, 2015 6:30 pm
  • Replies 88
  • Views 51952
Re: JSON Parse error: Unexpected EOF OK

jan499 wrote:The solution for me was to edit the etc/hosts file. Just add this:

wget http://www.yourdomain.com
curl http://www.yourdomain.com
telnet 0 80
This doesn't look like a correct format for hosts file. What did you write exactly?

Jump to post
  • Sun Jul 05, 2015 12:53 pm
  • Replies 18
  • Views 8584
Re: [SOLVED] Admin, Add or Edit Order - Unexpected end of in

Ok, I made some further discoveries. The longer error in post above was related to DNS (/etc/hosts file). Adjusting this removes it and curl seems to be working now (I can access the site from CLI). In safari I get this error (with straighlights above changes) SyntaxError: JSON Parse error: Unexpect...

Jump to post
  • Sun Jul 05, 2015 12:47 pm
  • Replies 88
  • Views 51952
Re: [SOLVED] Admin, Add or Edit Order - Unexpected end of in

This changed the error to: SyntaxError: Unexpected token < OK <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>404 Not Found</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <st...

Jump to post
  • Sun Jul 05, 2015 10:16 am
  • Replies 88
  • Views 51952
Re: [SOLVED] Admin, Add or Edit Order - Unexpected end of in

The popup changes from:

SyntaxError: Unexpected token <
OK
<b>Notice</b>: Undefined variable: json in <b>/home/XX/public_html/admin/controller/sale/order.php</b> on line <b>2222</b>
to:
SyntaxError: Unexpected end of input
OK
And there is nothing in error_log after adding this.

Jump to post
  • Sun Jul 05, 2015 1:34 am
  • Replies 88
  • Views 51952
Re: [SOLVED] Admin, Add or Edit Order - Unexpected end of in

Great. Now, we have a bit more information regarding this problem. Which OC version are you using exactly? 2.0.3.1 I have tried every "fix" found here, including Qphoria's workaround http://forum.opencart.com/viewtopic.php?f=181&t=146714 EDIT: some more info: json support enabled json version 1.2.1

Jump to post
  • Sun Jul 05, 2015 1:03 am
  • Replies 88
  • Views 51952
Re: [SOLVED] Admin, Add or Edit Order - Unexpected end of in

After reading 3 pages on this topic, none could report if cURL support is enabled nor that could find a cURL version from phpinfo() nor stating the error logs on when and where exactly this error actually occurs when using the API under the admin orders page since it has never been asked to do so. ...

Jump to post
  • Sun Jul 05, 2015 12:42 am
  • Replies 88
  • Views 51952
Re: OpenCart 2.0 Curl/Http Loopback Workaround!

Can somebody tell me.how to enable curl loopback calls in cpanel / WHM ?

Jump to post
  • Sun Jul 05, 2015 12:14 am
  • Replies 40
  • Views 82758
Re: OpenCart 2.0 Curl/Http Loopback Workaround!

I'm using 2.0.3.1 and still have the issue. Will this workaround fix it? Can the other domain be on the same cpanel account? if not, can it be on same server (and IP address) ? And, can someone tell how to enable curl loopback for a domain? I have a VPS so can do it, but what are the downsides (secu...

Jump to post
  • Fri Jul 03, 2015 6:15 pm
  • Replies 40
  • Views 82758

Search found 63 matches