Post by ozstar » Fri Jan 12, 2018 3:27 pm

Hi,

Just installing a fresh 3.0.2.0.

Installing to xxx.xxx.xxx.xxx~mysite not domain name yet.

All went well until I went to Front end shop and blank.

Got to Admin OK but when going from Dashboard to a link from side menu get taken back to admin login.

Error log from ftp show this line repeating


PHP Fatal error: Call to a member function link() on null in /home/mysite/public_html/catalog/controller/error/not_found.php on line 12

from system/logs

Trying to get property of non-object in /home/mysite/public_html/install/controller/install/step_3.php on line 280
2018-01-12 6:55:33 - PHP Warning: mysqli::mysqli(): (HY000/1045): Access denied for user mysite_webmaste'@'localhost' (using password: YES) in /home/mysite/public_html/system/library/db/mysqli.php on line 7
2018-01-12 6:55:33 - PHP Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/mysite/public_html/system/library/db/mysqli.php on line 10
2018-01-12 6:55:33 - PHP Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/mysite/public_html/system/library/db/mysqli.php on line 10
2018-01-12 6:55:33 - PHP Notice: Undefined variable: mysql in /home/mysite/public_html/install/controller/install/step_3.php on line 280
2018-01-12 6:55:33 - PHP Notice: Trying to get property of non-object in /home/mysite/public_html/install/controller/install/step_3.php on line 280

Suggestions please?

Thanks

oz

Active Member

Posts

Joined
Fri Mar 09, 2012 7:47 am
Location - Sydney OZ

Post by straightlight » Fri Jan 12, 2018 6:46 pm

Password either not entered or incorrectly entered during installation. Ensure to use the right database password. If you're not sure what it is, contact your host.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ozstar » Mon Jan 15, 2018 7:19 am

Hi,

Thank you for the reply.

I started over and reinstalled OC and sure enough the front page showed up, but..

I installed VQmod and the front disappeared again.

I am assuming this has something to do with installing it using the IP # /~name rather than the full domain name although I have done this a few times before but with OC 2 and 1.5 and below.

This is browser message in Edge. No message in FF or Waterfox only blank page.

HTTP 500 error
That’s odd... the website can’t display this page

This is Chrome

This page isn’t working
223.130.27.185 is currently unable to handle this request.
HTTP ERROR 500
The site may be under maintenance or could have a programming error.

Any ideas please.

Active Member

Posts

Joined
Fri Mar 09, 2012 7:47 am
Location - Sydney OZ

Post by straightlight » Mon Jan 15, 2018 7:33 am

Unless you are not using a compatible version of VQMod with the OC release you are using, this error would normally appear if you have installed extensions along with VQMod or it might also be caused by improper configuration of both config.php files / .htaccess.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ozstar » Mon Jan 15, 2018 8:01 am

Thanks again.

.htaccess is named correctly in vqmod and public dirs.

Made change to Allow in vqmod .htacc but no change in public_html

both configs have db, user and pwd correct and 755.

and addressed as..
// HTTP
define('HTTP_SERVER', 'http://223.130.27.185/~mysite/');

// HTTPS
define('HTTPS_SERVER', 'http://223.130.27.185/~mysite/');

// DIR
define('DIR_APPLICATION', '/home/mysite/public_html/catalog/');
define('DIR_SYSTEM', '/home/mysite/public_html/system/');
etc..


Thanks again..

Active Member

Posts

Joined
Fri Mar 09, 2012 7:47 am
Location - Sydney OZ

Post by straightlight » Mon Jan 15, 2018 8:15 am

etc..
What does that explain exactly?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ozstar » Mon Jan 15, 2018 11:10 am

etc. was for the rest of the default config file.

Cleared vqmod cache and both side came up with this message for front.
Notice: Undefined index: free_shipping in /home/ispybuy/public_html/vqmod/vqcache/vq2-catalog_model_catalog_product.php on line 52Notice: Undefined index: free_shipping in /home/ispybuy/public_html/vqmod/vqcache/vq2-catalog_model_catalog_product.php on line 52Notice: Undefined index: free_shipping in /home/ispybuy/public_html/vqmod/vqcache/vq2-catalog_model_catalog_product.php on line 52Notice: Undefined index: free_shipping in /home/ispybuy/public_html/vqmod/vqcache/vq2-catalog_model_catalog_product.php on line 52

Active Member

Posts

Joined
Fri Mar 09, 2012 7:47 am
Location - Sydney OZ
Who is online

Users browsing this forum: No registered users and 40 guests