I am a happy user of DF Gallery 1 on my localhost, plan to use it on client websites soon, want to upgrade, but the cURL problem (see forums) is stopping me .. I have full control over my WAMP apache server, so am happy to try whatever tests/changes may be required. Am also testing Abyss server for local work if this is any value for testing.
At this stage relevant details are that cURL support is enables in PHP and mod_rewrite is running in Apache
Comments
I ran into the same problem and enabled Mod_rewrite in the httpd.conf file. This fixed the problem for me.
same problem
"Invalid cURL response.
We expected 'true' from the url : http://localhost/dfg/api/rest/test_curl"
:(
Same problem as all you guys. Did anyone figure out a solution to this. I feel bad, because thisis such a great gallery and I am unable to useit on my website. What a shame. Guys, please upload the solution if you find one, thanks!
I also have the same problem.
Know someone if cUrl acces an remote server?
Or what must include in the htaccess?
Detailed instruction to solve the error
http://www.mycamerashots.com/index.php?x=dfgallery
Doesnt work :(
I too had the same install bug in a php 5.1.6 with json extension on apache 2.3 in Centos. I spent hours trying to get to the bottom of it and believe I have. I came up with many theories. In my case I found that it was my testing environment.
I have a local copy of my centos server running under vmware. I was testing on that but I had forgotten to set the centos hosts file to point locally, therefore within the install.php page the curl instance was trying to get to the real server on the interweb thingy - which not only did not have the dfgallery, but of course failed to set the local $_server variables thus making verify_installation() fail early on.
I still think it would be better to do this with a cookie and then test for the cookie in verify_installation()
PS the curl session in the installer should have curl_close() in it.
Jules
This is a big bug, I have the same problem in 5 different server apache rewrite module, with PHP 5+, php_json extension and php_curl extensions.
Always Invalid cURL response. We expected 'true' from the url http://www.poggiolo.byethost13.com/dfg/
What' s solution for that?
This is my ht.access
Order allow,deny
Options -Indexes
Options +FollowSymLinks
ErrorDocument 404 /index.php
DirectoryIndex index.php
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
Hi,
i have the same Problem, with the following error message:
Invalid cURL response.
We expected 'true' from the url : http://www.vam-gallery.de/DFGallery2/api/rest/test_curl
What does this mean? The directory "DFGallery2/api/rest/test_curl" doesn't exist on the server.
Thanks a lot for helping
Best regrads Dirk
The overwhelming belief is that you need to edit your htaccess file somehow (I just don't have the answer and it seems to vary by system/provider).
The test_curl is a re-direct of some sort that your system is not picking up on. Most people seem to revert to using /dfg/ as the directory but I don't think this will help you either.
If you do get things working properly, please include your htaccess file here for the rest of us.
Post new comment