I've set everything up good, but at the step I'm having trouble is the following:
At some point you have to make sure that the UU agent gets access to DF by bypassing the cookie check.
It said you have to look for the following code in includes/cmsinit.inc
- Code: Select all
/******************************************************************************
Check if the <form> POST is comming from this server
*******************************************************************************/
if (!is_user() && $_SERVER['REQUEST_METHOD'] == 'POST' && empty($CPG_SESS['user']['uri']))
{
if (PHPVERS >= 43) {
trigger_error('<pre>'.print_r($CPG_SESS, true).'</pre>', E_USER_WARNING);
}
cpg_error('Please enable cookies to post on this site. If you feel that you have reached this message in error please go back to the preceding page and post again');
}
and replace this with
- Code: Select all
/******************************************************************************
Check if the <form> POST is comming from this server
*******************************************************************************/
if (!substr($_SERVER['HTTP_USER_AGENT'], 0, 11 ) == 'UniUploader' )
{
if (!is_user() && $_SERVER['REQUEST_METHOD'] == 'POST' && empty($CPG_SESS['user']['uri']))
{
if (PHPVERS >= 43) {
trigger_error('<pre>'.print_r($CPG_SESS, true).'</pre>', E_USER_WARNING);
}
cpg_error('Please enable cookies to post on this site. If you feel that you have reached this message in error please go back to the preceding page and post again');
}
}
This fixes the issue I'm having with UU, it connects, uploads and downloads everything I need too.
HOWEVER, this also brings up a new issue with DF itself. Whenever I browset o my website I get the following errors on top of my page:
- Code: Select all
Warning: Cannot modify header information - headers already sent by (output started at /home/psoewish/public_html/includes/cmsinit.inc:1) in /home/psoewish/public_html/includes/cmsinit.inc on line 59
Warning: ini_set() [ref.outcontrol]: Cannot change zlib.output_compression - headers already sent in /home/psoewish/public_html/includes/cmsinit.inc on line 70
Now this also seems to mess with some layout stuff (my font gets bigger for one) and it's really bothersome.
Now I'm asking if anything would have a solution so that I can get UU to bypass the cookie check, AND get my site to still function "normal".
Thanks in advance