Localhost connected to the community
Permalink
Hi
Set up C5 and running vis wampserver. trying to connect to community but receive following : -
Unable to generate a marketplace token. Please ensure that allow_url_fopen is turned on, or that cURL is enabled on your server. If these are both true, It's possible your site's IP address may be blacklisted for some reason on our server. Please ask your webhost what your site's outgoing cURL request IP address is, and email it to us at help@concrete5.org.
PHP settings show allow_url_fopen as ticked and PHP extensions show php_curl as ticked. Not sure what else I need to do
cheers
Set up C5 and running vis wampserver. trying to connect to community but receive following : -
Unable to generate a marketplace token. Please ensure that allow_url_fopen is turned on, or that cURL is enabled on your server. If these are both true, It's possible your site's IP address may be blacklisted for some reason on our server. Please ask your webhost what your site's outgoing cURL request IP address is, and email it to us at help@concrete5.org.
PHP settings show allow_url_fopen as ticked and PHP extensions show php_curl as ticked. Not sure what else I need to do
cheers
you can't save to localhost, as if you did that the url would not be unique- anyone can have an address at localhost, only one can at blah.com
A quick fix, is just to make it a virtual host, make up a domain name (myc5.local) and add it to yours hosts file, then you'll be good.
- Josh
- Josh
Hi Josh, just curious on your reply to this issue. Outside of the main hosts file in Windows, is there another location to add "mydomain.local"? I've posted a question with the same issue but I want to make sure I correctly did what you stated.
regards
regards
The windows host file allows you to point a certain url to an internal or external location.
I think what Josh was referring to was the Apache virtual host and maybe not the windows host file...
I think what Josh was referring to was the Apache virtual host and maybe not the windows host file...
if you are using win 7
open c:Windows\System32\Drivers\etc\hosts
add this line
open your web server host conf,i using xampp, i think its no diffreente with wammp, add this line
c:xampp\apache\conf\extra\httpd-vhosts.conf
restart your apache, type :http://concrete5.localhost
it should work i think
or try ask uncle google, how to add virtual host using wammp
good luck.
open c:Windows\System32\Drivers\etc\hosts
add this line
127.0.0.1 localhost //add this if not exist there 127.0.0.1 concrete5.localhost
open your web server host conf,i using xampp, i think its no diffreente with wammp, add this line
c:xampp\apache\conf\extra\httpd-vhosts.conf
NameVirtualHost *:80 <VirtualHost *:80> ServerName localhost DocumentRoot "d:/htdosc/" </VirtualHost> <VirtualHost *:80> DocumentRoot "d:/htdosc/myconcrete5folder" //the directory of u web project ServerName concrete5.localhost //the vitual host domain you wanna </VirtualHost>
restart your apache, type :http://concrete5.localhost
it should work i think
or try ask uncle google, how to add virtual host using wammp
good luck.
you need to add
curl_setopt($curl_handle, CURLOPT_SSL_VERIFYPEER, false);
to concrete/helpers/file.php
on line 184.
afther you did this you will be able to connect using localhost.
curl_setopt($curl_handle, CURLOPT_SSL_VERIFYPEER, false);
to concrete/helpers/file.php
on line 184.
afther you did this you will be able to connect using localhost.