Post by mantychasss » Wed Oct 28, 2015 2:36 am

Got warning problem after moving my opencart shop admin panel

Code: Select all

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/mantas/www/shop/admin/controller/common/home.php on line 196Warning: file_get_contents(http://carbon.opencartstore.com/ads.php) [function.file-get-contents]: failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/mantas/www/shop/admin/controller/common/home.php on line 196
How can i fix this ?

Newbie

Posts

Joined
Wed Oct 28, 2015 2:29 am

Post by IP_CAM » Wed Oct 28, 2015 5:36 am

I assume, you tried to create a Shop Subdomain Link, and screwed up,
and this one does NOT belong to your Opencart Software anyway:
http://carbon.opencartstore.com/ads.php
since you could not call an OC-SUB-File directly, out of a Sub,
regardless of it's in this case, PHP-extension.

If your Server Path look's like this:
/home/mantas/www/shop/admin/controller/common/home.php
then, your shop needs to be http-linked, accordingly.

Or then, if called by use of a subdomain, linked/forwarded correctly, and declared/defined
in the corresponding .htaccess, to make it work.

Ernie
bigmax.ch/shop/

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 4 guests