PHPVibe / phpvibe-lite

PHPVibe Open source video CMS / Video Sharing CMS / Youtube Api v3 / Video Embeds
https://www.phpvibe.com
MIT License
75 stars 55 forks source link

The url ( http://127.0.0.1/ ) defined in vibe_config.php seems wrong #15

Open sercangezer opened 4 years ago

sercangezer commented 4 years ago

I want to installation local linux machine. But i cant define SITE URL.

Error: The url ( http://127.0.0.1/ ) defined in vibe_config.php seems wrong

How i can fix it?

wtosborne03 commented 4 years ago

I had the same problem, I couldn't find an acceptable site url. I fixed it by removing line 187 "_error();" in setup/index.php

cheungxi commented 3 years ago

I had the same problem, I couldn't find an acceptable site url. I fixed it by removing line 187 "_error();" in setup/index.php

😄

CatDTran commented 3 years ago

@sercangezer The setup/index.php script is expecting a fully qualified DNS name. You can put in example.com (or whatever name you like) as SITE_URL in the vibe_config.php, then if you're on linux, edit the file /etc/hosts and point the example.com to whatever IP that your server is hosting on (in this case 127.0.0.1), this act as a fake DNS name so that you can develop on your local machine. Article for reference here https://www.tecmint.com/setup-local-dns-using-etc-hosts-file-in-linux/