Re: apache cache or other issues?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add a blank live or two before 1352 and if the error is still at 1352 then it's a cache or the wrong file.

BTW, I know nothing about drupal so keep that in mind. I'd be interested in knowing what $code equals.

Add something like this at the top of the drupal_eval function to see what the value of $code is. If the function gets called more then once increment the iterator to see subsequent values of $code.


function drupal_eval($code) {
$i = 1;
if ( --$i == 0 ) {
	die( '<pre>' . print_r( $code , true ) . '</pre><br>' );
}

//brad

On Jul 12, 2008, at 8:36 PM, tom lee wrote:

On Sat, Jul 12, 2008 at 8:06 PM, tom lee <freemail168@xxxxxxxxx> wrote:

allow_url_fopen is on, but allow_url_include is off. could it be
allow_url_include issue?

Just checked. allow_url_include  is not related.
I don't understand why it still generateed the error  even if I
commented out the full function.

function drupal_eval($code) {
ob_start();
print eval('?>'. $code); //line 1352 here
$output = ob_get_contents();
ob_end_clean();
return $output;
}

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux