Post by leemcgee » Sun Jan 13, 2019 12:29 am

My opencart stores do not run today! They show only the contents of the store directory:

WEB PAGE RESULTS harmony-air.com (http://162.243.98.66/broker)

This is all I get, just the listing of files. NO OPENCART STORE!

Index of /broker
[ICO] Name Last modified Size Description
[PARENTDIR] Parent Directory -
[TXT] aboutus.html 2018-12-30 13:28 1.2K
[DIR] admin/ 2018-11-30 07:46 -
[DIR] catalog/ 2017-06-25 09:42 -
[ ] config.php 2019-01-12 07:19 1.1K
[ ] config.php.save 2019-01-04 09:15 1.1K
[DIR] html/ 2018-12-30 13:28 -
[DIR] image/ 2018-12-28 09:32 -
[ ] index.php 2017-05-13 08:02 405
[ ] php.ini 2017-05-13 08:02 451
[DIR] scripts/ 2018-12-27 10:46 -
[DIR] sql/ 2017-05-13 08:02 -
[DIR] system/ 2018-12-27 10:48 -
[DIR] vqmod/ 2017-05-13 08:02 -
[DIR] web/ 2017-05-13 08:02 -
[ ] who.php 2017-05-13 08:02 31

My config.php:

<?php
// HTTP
define('HTTP_SERVER', 'http://****/broker/');

// HTTPS
define('HTTPS_SERVER', 'https://****/broker/');

// DIR
define('DIR_APPLICATION', '/var/www/html/broker/catalog/');
define('DIR_SYSTEM', '/var/www/html/broker/system/');
define('DIR_IMAGE', '/var/www/html/broker/image/');
define('DIR_LANGUAGE', '/var/www/html/broker/catalog/language/');
define('DIR_TEMPLATE', '/var/www/html/broker/catalog/view/theme/');
define('DIR_CONFIG', '/var/www/html/broker/system/config/');
define('DIR_CACHE', '/var/www/html/broker/system/storage/cache/');
define('DIR_DOWNLOAD', '/var/www/html/broker/system/storage/download/');
define('DIR_LOGS', '/var/www/html/broker/system/storage/logs/');
define('DIR_MODIFICATION', '/var/www/html/broker/system/storage/modification/');
define('DIR_UPLOAD', '/var/www/html/broker/system/storage/upload/');
define('DIR_CATALOG', '/var/www/html/broker/catalog/');

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', '*****');
define('DB_USERNAME', '****');
define('DB_PASSWORD', '****');
define('DB_DATABASE', '****');
define('DB_PORT', '****');
define('DB_PREFIX', '****');

ls -l of store directory as shown above, "broker"

[root@harmonynet broker]# ls -l
total 60
-rwxrwxrwx 1 root root 1255 Dec 30 13:28 aboutus.html
drwxrwxrwx 7 root root 4096 Nov 30 07:46 admin
drwxrwxrwx 7 root root 4096 Jun 25 2017 catalog
-rwxrwxrwx 1 root root 1144 Jan 12 07:19 config.php
-rwxrwxrwx 1 root root 1143 Jan 4 09:15 config.php.save
drwxrwxrwx 2 root root 4096 Dec 30 13:28 html
drwxrwxrwx 5 root root 4096 Dec 28 09:32 image
-rwxrwxrwx 1 root root 405 May 13 2017 index.php
-rwxrwxrwx 1 root root 451 May 13 2017 php.ini
drwxrwxrwx 2 root root 4096 Dec 27 10:46 scripts
drwxrwxrwx 2 root root 4096 May 13 2017 sql
drwxrwxrwx 7 root root 4096 Dec 27 10:48 system
drwxrwxrwx 6 root root 4096 May 13 2017 vqmod
drwxrwxrwx 2 root root 4096 May 13 2017 web
-rwxrwxrwx 1 root root 31 May 13 2017 who.php

I am showing the following error on "apachectl status" which indicates a problem, any idea what this is? This might be causing the lack of Opencart Store? My other html works on this server, so Apache is somewhat working!

Jan 11 12:53:22 harmonynet systemd[1]: Starting The Apache HTTP Server...
Jan 11 12:53:22 harmonynet httpd[13480]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using ::1. Set...s message
Jan 11 12:53:22 harmonynet systemd[1]: Started The Apache HTTP Server.
Hint: Some lines were ellipsized, use -l to show in full.
Last edited by OSWorX on Sun Jan 13, 2019 1:06 am, edited 1 time in total.
Reason: no database details or password public!

New member

Posts

Joined
Mon Oct 17, 2016 6:00 am
Location - Mount Aukum, CA

Post by rjcalifornia » Sun Jan 13, 2019 7:00 am

leemcgee wrote:
Sun Jan 13, 2019 12:29 am
My opencart stores do not run today! They show only the contents of the store directory:

WEB PAGE RESULTS harmony-air.com (http://162.243.98.66/broker)

This is all I get, just the listing of files. NO OPENCART STORE!

Index of /broker
[ICO] Name Last modified Size Description
[PARENTDIR] Parent Directory -
[TXT] aboutus.html 2018-12-30 13:28 1.2K
[DIR] admin/ 2018-11-30 07:46 -
[DIR] catalog/ 2017-06-25 09:42 -
[ ] config.php 2019-01-12 07:19 1.1K
[ ] config.php.save 2019-01-04 09:15 1.1K
[DIR] html/ 2018-12-30 13:28 -
[DIR] image/ 2018-12-28 09:32 -
[ ] index.php 2017-05-13 08:02 405
[ ] php.ini 2017-05-13 08:02 451
[DIR] scripts/ 2018-12-27 10:46 -
[DIR] sql/ 2017-05-13 08:02 -
[DIR] system/ 2018-12-27 10:48 -
[DIR] vqmod/ 2017-05-13 08:02 -
[DIR] web/ 2017-05-13 08:02 -
[ ] who.php 2017-05-13 08:02 31

My config.php:

<?php
// HTTP
define('HTTP_SERVER', 'http://****/broker/');

// HTTPS
define('HTTPS_SERVER', 'https://****/broker/');

// DIR
define('DIR_APPLICATION', '/var/www/html/broker/catalog/');
define('DIR_SYSTEM', '/var/www/html/broker/system/');
define('DIR_IMAGE', '/var/www/html/broker/image/');
define('DIR_LANGUAGE', '/var/www/html/broker/catalog/language/');
define('DIR_TEMPLATE', '/var/www/html/broker/catalog/view/theme/');
define('DIR_CONFIG', '/var/www/html/broker/system/config/');
define('DIR_CACHE', '/var/www/html/broker/system/storage/cache/');
define('DIR_DOWNLOAD', '/var/www/html/broker/system/storage/download/');
define('DIR_LOGS', '/var/www/html/broker/system/storage/logs/');
define('DIR_MODIFICATION', '/var/www/html/broker/system/storage/modification/');
define('DIR_UPLOAD', '/var/www/html/broker/system/storage/upload/');
define('DIR_CATALOG', '/var/www/html/broker/catalog/');

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', '*****');
define('DB_USERNAME', '****');
define('DB_PASSWORD', '****');
define('DB_DATABASE', '****');
define('DB_PORT', '****');
define('DB_PREFIX', '****');

ls -l of store directory as shown above, "broker"

[root@harmonynet broker]# ls -l
total 60
-rwxrwxrwx 1 root root 1255 Dec 30 13:28 aboutus.html
drwxrwxrwx 7 root root 4096 Nov 30 07:46 admin
drwxrwxrwx 7 root root 4096 Jun 25 2017 catalog
-rwxrwxrwx 1 root root 1144 Jan 12 07:19 config.php
-rwxrwxrwx 1 root root 1143 Jan 4 09:15 config.php.save
drwxrwxrwx 2 root root 4096 Dec 30 13:28 html
drwxrwxrwx 5 root root 4096 Dec 28 09:32 image
-rwxrwxrwx 1 root root 405 May 13 2017 index.php
-rwxrwxrwx 1 root root 451 May 13 2017 php.ini
drwxrwxrwx 2 root root 4096 Dec 27 10:46 scripts
drwxrwxrwx 2 root root 4096 May 13 2017 sql
drwxrwxrwx 7 root root 4096 Dec 27 10:48 system
drwxrwxrwx 6 root root 4096 May 13 2017 vqmod
drwxrwxrwx 2 root root 4096 May 13 2017 web
-rwxrwxrwx 1 root root 31 May 13 2017 who.php

I am showing the following error on "apachectl status" which indicates a problem, any idea what this is? This might be causing the lack of Opencart Store? My other html works on this server, so Apache is somewhat working!

Jan 11 12:53:22 harmonynet systemd[1]: Starting The Apache HTTP Server...
Jan 11 12:53:22 harmonynet httpd[13480]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using ::1. Set...s message
Jan 11 12:53:22 harmonynet systemd[1]: Started The Apache HTTP Server.
Hint: Some lines were ellipsized, use -l to show in full.
Did you make any changes to the server or the .htaccess file? Anything?

Image
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide

Post by leemcgee » Mon Jan 14, 2019 1:18 am

Thanks! My .htaccess file was completely missing I just recopied my good one to it, is there now, but I still get only the directory listing when I go to the opencart site, no opencart.

New member

Posts

Joined
Mon Oct 17, 2016 6:00 am
Location - Mount Aukum, CA

Post by johnp » Mon Jan 14, 2019 3:51 am

What are you seeing via FTP? Just folders?

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by leemcgee » Mon Jan 14, 2019 11:53 pm

Thank you John, yes I only saw folders and files. But my problem is all solved, it was all happening at the higher Apache httpd level, I had been installing new virtual host domains and ssl certificate, somehow my PHP install got lost. yum install php fixed my site, opencart is working correctly right now, I am still have some trouble with admin, it is saying index.php not found even though the file is there cannot login to admin. So right now admin is the only problem I am having.

My opencart stores run on a Digital Ocean droplet, Centos.

Thank you John!

New member

Posts

Joined
Mon Oct 17, 2016 6:00 am
Location - Mount Aukum, CA

Post by johnp » Tue Jan 15, 2019 5:02 am

No probs. We're all here to help. :)

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK
Who is online

Users browsing this forum: No registered users and 78 guests