Getting the following error message:
Invalid cURL response.
We expected 'true' from the url : http://utahbookers.com/dfg/api/rest/test_curl
cURL is enabled on my server:
| cURL support | enabled |
| cURL Information | libcurl/7.15.3 OpenSSL/0.9.7a zlib/1.2.3 |
Gallery is installed at www.utahbookers.com/dfg
PHP info: http://www.utahbookers.com/phptest.php
Comments
I try all the solution that in the forum give, but still don't work.
I have ultimahost.net and I have php on IIS.
How can I fix the curl issue?
We need to enable the mod_rewrite module in Apache for this error to go! Just go to your Apache's httpd.conf file and uncomment the below line:
#LoadModule rewrite_module modules/mod_rewrite.so
to make it look like:
LoadModule rewrite_module modules/mod_rewrite.so
./.rc
tnx for the info. was able to run it.
RewriteBase / (directoryname)
I had the same Problem:
I SOLVED it by adding a "?" between "index.php" and "/$1".
THAT's all.
The line looks like this then:
----> RewriteRule ^(.*)$ index.php?/$1 [L]
the other stuff is untouched.
I have the same error problem, but I on Windows IIS.
So I have also installed ISAPI_rewrtite is the same as mod-rewrite for apache.
Somebody can help me to solve the cURL problem ?
Many thanks
Neo
After giving up hope for over a month,I just came back to the gallery, did everything from scratch, and got this same error - after reading this thread I got it to work.
Like Anonymous stated above, replace the following lines in the appropriate place in the given .htaccess:
RewriteEngine On
RewriteBase /dfg
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?/$1 [L]
Worked like a charm.
I never would have caught that! Thanks for the tip!!
Ashlee
Does this mean that you have your installation in the /dfg subdirectory?
The real DIFFERENCE seems to be switching the * in this line:
RewriteRule ^(.*)$ index.php/$1 [L]
to the + that you used here:
RewriteRule ^(.+)$ index.php?/$1 [L]
Sadly, that does nothing for me (actually, the page won't load at all when I do that).
So can anyone out there actually explain what this function is doing or are we all just trying to copy other peoples text files in the hopes of finding a magic combination?
Im having exactly the same problem. When someone comes around with a solution I hope he shares it here.
Post new comment