Dezinerfolio

Solution of Invalid cURL response: one scenario

After trying a few proposed solutions I realized that none work for everybody. Finally I solved my problem, I hope it will help you at least diagnose your problems, if not solve them.

A more detailed desctiption of the solution is at: http://www.siviz.com/photo-software/6-dfgallery-invalid-curl-response-error

I found out that if I add "index.php" to the URL : http://www.###.com/dfg/index.php/api/rest/test_curl and enter it in the browser, the returned value is 'true'.

In this situation it seems that everything is set up correctly, mod_rewrite is on etc., but there is a problem with url rewriting.

After changing the line RewriteRule ^(.*)$ index.php/$1 [L] to RewriteRule ^(.*)$ index.php?$1 [L] everything worked OK.

 

If you don't get 'true' value at http://www.###.com/dfg/index.php/api/rest/test_curl then you probably have a different situation.

 

Hope to be of help.

Trackback URL for this post:

http://www.dezinerfolio.com/trackback/1284
Anonymous's picture

Hi,
I use the version 1 because my webspace domain provider doesn't support JSON extension, so I have to stay on the version 1, that matches what I'm waiting for.

I would like to know if there is a way to disable the update alert since I know it exists and that I won't get it...

Thanks

orjin krem (not verified)
Tue, 02/08/2011 - 15:00

Post new comment

The content of this field is kept private and will not be shown publicly.