opencart version 2.3.0.2
Fresh install no modifications of any sort.
FTP details setup in server settings
I have SSL forced across the entire site, current live site is in root with 3.02 install and this store is in ../upload/ folder
htaccess file changed as per instructions on another topic relating to this error.
Each time i try to use the installer the site freezes then says 'undefined error'
After changing the htaccess file the error message went away but now it just freezes.
error logs state:
2018-01-20 8:53:04 - PHP Warning: Invalid argument supplied for foreach() in /var/sites/f/xxxxx/public_html/upload/admin/controller/extension/installer.php on line 332
2018-01-20 8:53:04 - PHP Warning: ftp_mkdir(): Can't create directory: File exists in /var/sites/f/xxxxx/public_html/upload/admin/controller/extension/installer.php on line 337
htaccess file:
<code>
Options +FollowSymlinks
# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "\.(tpl|ini|log)">
Order deny,allow
Deny from all
</FilesMatch>
# SEO URL Settings
RewriteEngine On
#RewriteCond %{HTTPS} on
#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
#SSL Port
RewriteCond %{SERVER_PORT} !=443
# Remove www. from any domain query
RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1%{REQUEST_URI} [R=301,L]
# All broswer request get redirected to HTTPS
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
RewriteBase /upload/
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^download/(.*) /index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
</code>
The freezing part is caused by a misconfigured or restricted FTP access. Ensure to properly configure your FTP settings from your admin - > systems - > settings - > edit settings - > FTP tab and to set your path to: public_html/ . This should resolve the issue.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 192 guests