I'm obviosuly being really thick here but I'm having trouble installing opencart on an Apache server.
I get to:
"4. Visit the store homepage
e.g. http://www.example.com or http://www.example.com/store/"
and I just get a directory listing. The installation files and folders are all in a directory called "public_html" as instructed. I don't see how I can get anything other than a directory listing as there are no files there in the root to run (e.g. no index.html).
All help gratefully received.
Regards
Michael
I get to:
"4. Visit the store homepage
e.g. http://www.example.com or http://www.example.com/store/"
and I just get a directory listing. The installation files and folders are all in a directory called "public_html" as instructed. I don't see how I can get anything other than a directory listing as there are no files there in the root to run (e.g. no index.html).
All help gratefully received.
Regards
Michael
Lol this is the best post Ive seen in ages and the kind that is normally ignored, I will answer it though since for some obscure reason it tickled my fancy.
You are right there is no index.html however there should be an index.php? If not then you do not have all the necessary files. Try downloading from fresh and re-upload everything.
You must have the index.php file.
Good luck
You are right there is no index.html however there should be an index.php? If not then you do not have all the necessary files. Try downloading from fresh and re-upload everything.
You must have the index.php file.
Good luck

OpenCart Theme Options - See All My Extensions - OpenCart Themes and Mods
Thanks The
I appreciate your help. There is an index.php file but it's in the public_html directory, which is where the installation instructions (at http://www.opencart.com/index.php?route ... stallation ) told me to put it:
"1. upload all the files and folders to your server from the "Upload" folder.
This can be to anywhere of your choice.
e.g. /public_html/store or /public_html"
As it unzipped into the upload folder on my PC I put it in the public_html directory on my server.
I will follow your advice and move the index.php into the root. However, do I also need to move config.php, mysql, php.ini and rc.conf into the root? Also, do I have to edit config.php (which seems to be empty), or any other file, to tell it the name of the installation directory?
Kind Regards
Michael
I appreciate your help. There is an index.php file but it's in the public_html directory, which is where the installation instructions (at http://www.opencart.com/index.php?route ... stallation ) told me to put it:
"1. upload all the files and folders to your server from the "Upload" folder.
This can be to anywhere of your choice.
e.g. /public_html/store or /public_html"
As it unzipped into the upload folder on my PC I put it in the public_html directory on my server.
I will follow your advice and move the index.php into the root. However, do I also need to move config.php, mysql, php.ini and rc.conf into the root? Also, do I have to edit config.php (which seems to be empty), or any other file, to tell it the name of the installation directory?
Kind Regards
Michael
Thanks Daniel. I seem to be getting somewhere now by going to the install directory and double clicking on index.php in the browser. Is this what I'm supposed to be doing? So far I've got through stages 1 and 2 and I think I'm being held up at stage 3 by a MYSQL problem that I'm addressing with my server providers.
Kind Regards
Michael Bryant
Kind Regards
Michael Bryant
Hi Mab,
Are you getting the install screen which requires the database name user etc? If so and you are filling out everything and all the indicators are ticked and it still isnt working then it must be your host.
Perhaps the server is running PHP4. Have a look in your cpanel or equivelant, there may be an option to upgrade the PHP version you are using. You want PHP5!
Good luck dude!
Are you getting the install screen which requires the database name user etc? If so and you are filling out everything and all the indicators are ticked and it still isnt working then it must be your host.
Perhaps the server is running PHP4. Have a look in your cpanel or equivelant, there may be an option to upgrade the PHP version you are using. You want PHP5!
Good luck dude!
OpenCart Theme Options - See All My Extensions - OpenCart Themes and Mods
Looks like you need to setup a directory index if index.php is not running automatically when you are in the directory.
To set-up a directoryindex, create a .htaccess file
Include the following text
If you've already got a htaccess file there, then add or edit to include the above line.
Oh, and by the way, the public_html directory IS the root of your website.
To set-up a directoryindex, create a .htaccess file
Include the following text
Code: Select all
DirectoryIndex index.html index.cgi index.php
Oh, and by the way, the public_html directory IS the root of your website.
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
Thanks Readyman, et al.
All problems sorted and all is now working. The problem was one of understanding on my part. I am using multiple domains within one Apache virtual server so the path as displayed in my FTPprog Filezilla is httpd/vhtdocs/[mydomain]. I guess this is an unusual setup and I didn't realise that when the documentation says public_html, it means the root. I got the clue in the end from the video tutorial hereabouts (thanks guy with brilliant accent) and Readyman confirmed it above. Once I'd sussed this and sorted out MYSQL and PHP it went very smoothly.
Thanks again for all the support. Now to customise it, test it, upload a zillion products, and repeat the trick half a dozen times in time for the Christmas rush.
Regards
Michael
All problems sorted and all is now working. The problem was one of understanding on my part. I am using multiple domains within one Apache virtual server so the path as displayed in my FTPprog Filezilla is httpd/vhtdocs/[mydomain]. I guess this is an unusual setup and I didn't realise that when the documentation says public_html, it means the root. I got the clue in the end from the video tutorial hereabouts (thanks guy with brilliant accent) and Readyman confirmed it above. Once I'd sussed this and sorted out MYSQL and PHP it went very smoothly.
Thanks again for all the support. Now to customise it, test it, upload a zillion products, and repeat the trick half a dozen times in time for the Christmas rush.
Regards
Michael
Who is online
Users browsing this forum: No registered users and 5 guests