[geeklog-devel] Staticpages plugin error

Tom websitemaster at cogeco.net
Thu May 7 10:27:34 EDT 2015


No, the php code that you put in the actual staticpage. 

I want to recreate the staticpage with the php code you are having problems
with.

Thanks

Tom

-----Original Message-----
From: geeklog-devel [mailto:geeklog-devel-bounces at lists.geeklog.net] On
Behalf Of ????
Sent: May-07-15 10:14 AM
To: Geeklog Development
Subject: Re: [geeklog-devel] Staticpages plugin error

Tom

http://project.geeklog.net/tracking/view.php?id=1791

function SP_render_content
    :
    $sp_content=stripslashes($sp_content); <<<==== This line added
    if ($_SP_CONF['allow_php'] == 1) {
        // Check for type (ie html or php)
        if ($sp_php == 1) {
            $sp_content = eval($sp_content);
        } elseif ($sp_php == 2) {

Then worked correctry.
Thanks.


--
Ivy



2015-05-07 5:52 GMT+09:00 Tom <websitemaster at cogeco.net>:
> Do you have the code that is causing the problems?
>
> I would still like to take a look at it. I have lots of quotes in my 
> php code for the staticpage and it runs fine.
>
> Tom
>
> -----Original Message-----
> From: geeklog-devel [mailto:geeklog-devel-bounces at lists.geeklog.net] 
> On Behalf Of ????
> Sent: May-06-15 10:58 AM
> To: Geeklog Development
> Subject: Re: [geeklog-devel] Staticpages plugin error
>
> Tom,
>
> I see.
> Thanks.
> --
> Ivy
>
> 2015-05-06 5:17 GMT+09:00 Tom <websitemaster at cogeco.net>:
>> I am using PHP 5.6.0 so no magic_quotes_gpc setting
>>
>> Magic Quotes was depreciated in PHP 5.3 and removed in PHP 5.4
>>
>> Tom
>>
>> -----Original Message-----
>> From: geeklog-devel [mailto:geeklog-devel-bounces at lists.geeklog.net]
>> On Behalf Of ????
>> Sent: May-05-15 11:57 AM
>> To: Geeklog Development
>> Subject: Re: [geeklog-devel] Staticpages plugin error
>>
>> Tom,
>>
>> magic_quotes_gpc ON is server setting problem, isn't it?
>> This error caused by server, maybe.
>>
>> --
>> Ivy
>>
>>
>> 2015-05-03 1:35 GMT+09:00 Tom <websitemaster at cogeco.net>:
>>>
>>> Hi Ivy,
>>>
>>> I added a comment to the php bug.
>>> http://project.geeklog.net/tracking/view.php?id=1791
>>>
>>> I run several pages with php that work fine.  Can I get the settings 
>>> for the staticpage and a sample of php that doesn't actually work?
>>>
>>> Thanks
>>>
>>> Tom
>>>
>>> -----Original Message-----
>>> From: geeklog-devel [mailto:geeklog-devel-bounces at lists.geeklog.net]
>>> On Behalf Of ????
>>> Sent: April-29-15 10:23 PM
>>> To: Geeklog Development
>>> Subject: [geeklog-devel] Staticpages plugin error
>>>
>>> Tom,
>>>
>>> There are two Staticpages plugin problem.
>>>
>>> Staticpages plugin does not work when using PHP mode.
>>> http://project.geeklog.net/tracking/view.php?id=1791
>>> staticpages/functions.inc:
>>> change:
>>> function SP_render_content()
>>> add:    :
>>> $sp_content=stripslashes($sp_content);
>>>
>>> Staticpages plugin uninstall error.
>>> http://project.geeklog.net/tracking/view.php?id=1790
>>>
>>> thanks.
>>>
>>> --
>>> Ivy
>>> _______________________________________________
>>> geeklog-devel mailing list
>>> geeklog-devel at lists.geeklog.net
>>> https://pairlist8.pair.net/mailman/listinfo/geeklog-devel
>>>
>>> _______________________________________________
>>> geeklog-devel mailing list
>>> geeklog-devel at lists.geeklog.net
>>> https://pairlist8.pair.net/mailman/listinfo/geeklog-devel
>> _______________________________________________
>> geeklog-devel mailing list
>> geeklog-devel at lists.geeklog.net
>> https://pairlist8.pair.net/mailman/listinfo/geeklog-devel
>>
>> _______________________________________________
>> geeklog-devel mailing list
>> geeklog-devel at lists.geeklog.net
>> https://pairlist8.pair.net/mailman/listinfo/geeklog-devel
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> https://pairlist8.pair.net/mailman/listinfo/geeklog-devel
>
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> https://pairlist8.pair.net/mailman/listinfo/geeklog-devel
_______________________________________________
geeklog-devel mailing list
geeklog-devel at lists.geeklog.net
https://pairlist8.pair.net/mailman/listinfo/geeklog-devel




More information about the geeklog-devel mailing list