Dezinerfolio

Invalid cURL response.

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

Status: 
New

Comments

Anonymous's picture

I ran into the same problem and enabled Mod_rewrite in the httpd.conf file. This fixed the problem for me.

Anonymous
Sat, 09/12/2009 - 00:54
Anonymous's picture

same problem
"Invalid cURL response.
We expected 'true' from the url : http://localhost/dfg/api/rest/test_curl"
:(

Anonymous
Sat, 08/29/2009 - 08:10
Anonymous's picture

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!

Anonymous
Sat, 07/11/2009 - 09:47
Anonymous's picture

I also have the same problem.

Know someone if cUrl acces an remote server?
Or what must include in the htaccess?

Anonymous
Thu, 04/02/2009 - 21:41
Anonymous's picture

Detailed instruction to solve the error
http://www.mycamerashots.com/index.php?x=dfgallery

Anonymous
Wed, 05/20/2009 - 15:35
Anonymous's picture

Doesnt work :(

Anonymous
Sat, 07/11/2009 - 00:55
Anonymous's picture

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

Anonymous
Tue, 05/12/2009 - 07:41
Anonymous's picture

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]

Anonymous
Sat, 03/28/2009 - 20:34
Anonymous's picture

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

Anonymous
Thu, 03/12/2009 - 20:43
photo's picture

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.

Mon, 03/16/2009 - 22:17

Post new comment