View Full Version : Problem when I submit a "gag"

13-05-2012, 12:56 AM

When I submit a gag on my script, I have this message:

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /home/martnolet/domains/gagqc.com/public_html/include/functions/main.php on line 21

Warning: Cannot modify header information - headers already sent by (output started at /home/martnolet/domains/gagqc.com/public_html/include/functions/main.php:21) in /home/martnolet/domains/gagqc.com/public_html/submit.php on line 397

I just buy the script, I did not modify anything.

I have this error, but the gag is submit for real because I can find it in the vote page... but its not nice to have an error message everytime someone post..!



13-05-2012, 10:46 AM
what version are you using?

And where do you host your site?

13-05-2012, 12:21 PM
what version are you using?

And where do you host your site?

I buy the script yesterday, so 2.3.

My host is gold-serveur.com. It's my host for 3 years, never had problem. Ty!

13-05-2012, 05:31 PM
Its not a big problem
you server don't support PECL json >= 1.2.0
Please contact you hosting provider ^^ or just edit the php.ini file

Thx for your answer.

During the time, I changed my host for the one that scriptosolution recommand. Everything is now ok!

13-05-2012, 05:38 PM
If you dont know how to edit he php.ini file just contact your hosting service provider..

Just ask them if they meet this server requirement:

Apache web server with mod_rewrite enabled.
MySQL version 4.0+
GD Library 2+ with freetype support.
PHP 5.2+ with the following configuration
safe_mode = off
open_basedir = (no value)
output_buffering = on
register_argc_argv = On
max_execution_time = 300 (Recommended or higher)
session.gc_maxlifetime = 15000 (Recommended or higher)
upload_max_filesize = 10M (Recommended or higher)
post_max_size = 10M (Recommended or higher)
register_globals = off
PECL json >= 1.2.0
curl support enabled
Facebook Application

Ask them to activate it for you..

If problem still occur, you can contact me at reviewph@yahoo.com

I can install your script for free. Its only 3 mins installation.