From websitemaster at cogeco.net Sat May 2 12:35:34 2015 From: websitemaster at cogeco.net (Tom) Date: Sat, 2 May 2015 12:35:34 -0400 Subject: [geeklog-devel] Staticpages plugin error In-Reply-To: References: Message-ID: <030c01d084f6$03437c40$09ca74c0$@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 From komma at ivywe.co.jp Mon May 4 01:18:36 2015 From: komma at ivywe.co.jp (=?UTF-8?B?5LuK6aeS5ZOy5a2Q?=) Date: Mon, 4 May 2015 14:18:36 +0900 Subject: [geeklog-devel] Staticpages plugin error In-Reply-To: <030c01d084f6$03437c40$09ca74c0$@cogeco.net> References: <030c01d084f6$03437c40$09ca74c0$@cogeco.net> Message-ID: Tom, Thanks. I don't know why some server works fine and some not. magic_quotes_gpc ON or OFF.... -- Ivy From komma at ivywe.co.jp Tue May 5 11:56:31 2015 From: komma at ivywe.co.jp (=?UTF-8?B?5LuK6aeS5ZOy5a2Q?=) Date: Wed, 6 May 2015 00:56:31 +0900 Subject: [geeklog-devel] Staticpages plugin error In-Reply-To: <030c01d084f6$03437c40$09ca74c0$@cogeco.net> References: <030c01d084f6$03437c40$09ca74c0$@cogeco.net> Message-ID: 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 : > > 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 From websitemaster at cogeco.net Tue May 5 16:17:46 2015 From: websitemaster at cogeco.net (Tom) Date: Tue, 5 May 2015 16:17:46 -0400 Subject: [geeklog-devel] Staticpages plugin error In-Reply-To: References: <030c01d084f6$03437c40$09ca74c0$@cogeco.net> Message-ID: <043601d08770$8ccd3510$a6679f30$@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 : > > 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 From komma at ivywe.co.jp Wed May 6 10:58:20 2015 From: komma at ivywe.co.jp (=?UTF-8?B?5LuK6aeS5ZOy5a2Q?=) Date: Wed, 6 May 2015 23:58:20 +0900 Subject: [geeklog-devel] Staticpages plugin error In-Reply-To: <043601d08770$8ccd3510$a6679f30$@cogeco.net> References: <030c01d084f6$03437c40$09ca74c0$@cogeco.net> <043601d08770$8ccd3510$a6679f30$@cogeco.net> Message-ID: Tom, I see. Thanks. -- Ivy 2015-05-06 5:17 GMT+09:00 Tom : > 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 : >> >> 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 From websitemaster at cogeco.net Wed May 6 16:52:35 2015 From: websitemaster at cogeco.net (Tom) Date: Wed, 6 May 2015 16:52:35 -0400 Subject: [geeklog-devel] Staticpages plugin error In-Reply-To: References: <030c01d084f6$03437c40$09ca74c0$@cogeco.net> <043601d08770$8ccd3510$a6679f30$@cogeco.net> Message-ID: <04d201d0883e$948a5cf0$bd9f16d0$@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 : > 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 : >> >> 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 From komma at ivywe.co.jp Thu May 7 10:13:38 2015 From: komma at ivywe.co.jp (=?UTF-8?B?5LuK6aeS5ZOy5a2Q?=) Date: Thu, 7 May 2015 23:13:38 +0900 Subject: [geeklog-devel] Staticpages plugin error In-Reply-To: <04d201d0883e$948a5cf0$bd9f16d0$@cogeco.net> References: <030c01d084f6$03437c40$09ca74c0$@cogeco.net> <043601d08770$8ccd3510$a6679f30$@cogeco.net> <04d201d0883e$948a5cf0$bd9f16d0$@cogeco.net> Message-ID: 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 : > 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 : >> 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 : >>> >>> 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 From websitemaster at cogeco.net Thu May 7 10:27:34 2015 From: websitemaster at cogeco.net (Tom) Date: Thu, 7 May 2015 10:27:34 -0400 Subject: [geeklog-devel] Staticpages plugin error In-Reply-To: References: <030c01d084f6$03437c40$09ca74c0$@cogeco.net> <043601d08770$8ccd3510$a6679f30$@cogeco.net> <04d201d0883e$948a5cf0$bd9f16d0$@cogeco.net> Message-ID: <051801d088d1$f5fc27f0$e1f477d0$@cogeco.net> 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 : > 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 : >> 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 : >>> >>> 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 From komma at ivywe.co.jp Thu May 7 10:38:07 2015 From: komma at ivywe.co.jp (=?UTF-8?B?5LuK6aeS5ZOy5a2Q?=) Date: Thu, 7 May 2015 23:38:07 +0900 Subject: [geeklog-devel] Staticpages plugin error In-Reply-To: <051801d088d1$f5fc27f0$e1f477d0$@cogeco.net> References: <030c01d084f6$03437c40$09ca74c0$@cogeco.net> <043601d08770$8ccd3510$a6679f30$@cogeco.net> <04d201d0883e$948a5cf0$bd9f16d0$@cogeco.net> <051801d088d1$f5fc27f0$e1f477d0$@cogeco.net> Message-ID: static page code: echo "hello!"; only this line. include " -- Ivy 2015-05-07 23:27 GMT+09:00 Tom : > 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 : >> 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 : >>> 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 : >>>> >>>> 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 > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > https://pairlist8.pair.net/mailman/listinfo/geeklog-devel From websitemaster at cogeco.net Thu May 7 11:05:22 2015 From: websitemaster at cogeco.net (Tom) Date: Thu, 7 May 2015 11:05:22 -0400 Subject: [geeklog-devel] Staticpages plugin error In-Reply-To: References: <030c01d084f6$03437c40$09ca74c0$@cogeco.net> <043601d08770$8ccd3510$a6679f30$@cogeco.net> <04d201d0883e$948a5cf0$bd9f16d0$@cogeco.net> <051801d088d1$f5fc27f0$e1f477d0$@cogeco.net> Message-ID: <052b01d088d7$3dc967a0$b95c36e0$@cogeco.net> Thanks, I have tested it on multiple servers all with magic_quotes_gpc either off or not an option (since config option is depreciated on 5.4 and higher) PHP 5.6.0 (my web server using iis) PHP 5.3.19 (my development server using iis) PHP 5.3.29 (Geeklog.net) And your echo hello php code works fine. I wonder what is different with your server... Tom -----Original Message----- From: geeklog-devel [mailto:geeklog-devel-bounces at lists.geeklog.net] On Behalf Of ???? Sent: May-07-15 10:38 AM To: Geeklog Development Subject: Re: [geeklog-devel] Staticpages plugin error static page code: echo "hello!"; only this line. include " -- Ivy 2015-05-07 23:27 GMT+09:00 Tom : > 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 : >> 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 : >>> 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 : >>>> >>>> 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 > > _______________________________________________ > 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 From komma at ivywe.co.jp Thu May 7 11:25:59 2015 From: komma at ivywe.co.jp (=?UTF-8?B?5LuK6aeS5ZOy5a2Q?=) Date: Fri, 8 May 2015 00:25:59 +0900 Subject: [geeklog-devel] Staticpages plugin error In-Reply-To: <052b01d088d7$3dc967a0$b95c36e0$@cogeco.net> References: <030c01d084f6$03437c40$09ca74c0$@cogeco.net> <043601d08770$8ccd3510$a6679f30$@cogeco.net> <04d201d0883e$948a5cf0$bd9f16d0$@cogeco.net> <051801d088d1$f5fc27f0$e1f477d0$@cogeco.net> <052b01d088d7$3dc967a0$b95c36e0$@cogeco.net> Message-ID: Tom, CORESERVER PHP 5.3 5.4 both error occured. http://www.coreserver.jp/info/20140604.html magic_quotes_gpc ON (default) -- Ivy 2015-05-08 0:05 GMT+09:00 Tom : > Thanks, > > I have tested it on multiple servers all with magic_quotes_gpc either off or > not an option (since config option is depreciated on 5.4 and higher) > > PHP 5.6.0 (my web server using iis) > > PHP 5.3.19 (my development server using iis) > > PHP 5.3.29 (Geeklog.net) > > And your echo hello php code works fine. > > I wonder what is different with your server... > > Tom > > -----Original Message----- > From: geeklog-devel [mailto:geeklog-devel-bounces at lists.geeklog.net] On > Behalf Of ???? > Sent: May-07-15 10:38 AM > To: Geeklog Development > Subject: Re: [geeklog-devel] Staticpages plugin error > > static page code: > > > echo "hello!"; > > > only this line. > include " > -- > Ivy > > > > > 2015-05-07 23:27 GMT+09:00 Tom : >> 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 : >>> 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 : >>>> 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 : >>>>> >>>>> 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 >> >> _______________________________________________ >> 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 From danstoner at gmail.com Fri May 15 21:10:55 2015 From: danstoner at gmail.com (Dan Stoner) Date: Fri, 15 May 2015 21:10:55 -0400 Subject: [geeklog-devel] geeklog with nginx and php-fpm Message-ID: Does anyone have geeklog running with nginx and php-fpm? I am moving to new server and having some troubles... http://thatlinuxbox.com/blog/ Looks ok on the main page but clicking on an individual story leads to 404. I have been trying to secure my setup to avoid some issues such as: -------------- next part -------------- An HTML attachment was scrubbed... URL: From danstoner at gmail.com Fri May 15 21:14:06 2015 From: danstoner at gmail.com (Dan Stoner) Date: Fri, 15 May 2015 21:14:06 -0400 Subject: [geeklog-devel] geeklog with nginx and php-fpm In-Reply-To: References: Message-ID: oops. continued... such as: http://cnedelcu.blogspot.com/2010/05/nginx-php-via-fastcgi-important.html http://wiki.nginx.org/Pitfalls At this point I'm not sure if I need to lessen my fastcgi security to get geeklog running or if I am just missing some other config option to properly get the "URL Rewriting" feature working. Thanks if someone has a pointer / idea. - Dan Stoner On Fri, May 15, 2015 at 9:10 PM, Dan Stoner wrote: > Does anyone have geeklog running with nginx and php-fpm? > > > I am moving to new server and having some troubles... > > http://thatlinuxbox.com/blog/ > > Looks ok on the main page but clicking on an individual story leads to 404. > > I have been trying to secure my setup to avoid some issues such as: > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From danstoner at gmail.com Fri May 15 21:32:04 2015 From: danstoner at gmail.com (Dan Stoner) Date: Fri, 15 May 2015 21:32:04 -0400 Subject: [geeklog-devel] geeklog with nginx and php-fpm In-Reply-To: References: Message-ID: http://wiki.nginx.org/PHPFcgiExample ^^^ putting this in place caused "Access Denied" on main page of blog. On Fri, May 15, 2015 at 9:14 PM, Dan Stoner wrote: > oops. continued... > > such as: > > http://cnedelcu.blogspot.com/2010/05/nginx-php-via-fastcgi-important.html > > http://wiki.nginx.org/Pitfalls > > > At this point I'm not sure if I need to lessen my fastcgi security to get > geeklog running or if I am just missing some other config option to > properly get the "URL Rewriting" feature working. > > Thanks if someone has a pointer / idea. > > - Dan Stoner > > > On Fri, May 15, 2015 at 9:10 PM, Dan Stoner wrote: > >> Does anyone have geeklog running with nginx and php-fpm? >> >> >> I am moving to new server and having some troubles... >> >> http://thatlinuxbox.com/blog/ >> >> Looks ok on the main page but clicking on an individual story leads to >> 404. >> >> I have been trying to secure my setup to avoid some issues such as: >> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From danstoner at gmail.com Fri May 15 21:33:09 2015 From: danstoner at gmail.com (Dan Stoner) Date: Fri, 15 May 2015 21:33:09 -0400 Subject: [geeklog-devel] geeklog with nginx and php-fpm In-Reply-To: References: Message-ID: sorry... that was supposed to be a note to myself... I haven't finished trying the entire example at http://wiki.nginx.org/PHPFcgiExample On Fri, May 15, 2015 at 9:32 PM, Dan Stoner wrote: > http://wiki.nginx.org/PHPFcgiExample > > ^^^ putting this in place caused "Access Denied" on main page of blog. > > On Fri, May 15, 2015 at 9:14 PM, Dan Stoner wrote: > >> oops. continued... >> >> such as: >> >> http://cnedelcu.blogspot.com/2010/05/nginx-php-via-fastcgi-important.html >> >> http://wiki.nginx.org/Pitfalls >> >> >> At this point I'm not sure if I need to lessen my fastcgi security to get >> geeklog running or if I am just missing some other config option to >> properly get the "URL Rewriting" feature working. >> >> Thanks if someone has a pointer / idea. >> >> - Dan Stoner >> >> >> On Fri, May 15, 2015 at 9:10 PM, Dan Stoner wrote: >> >>> Does anyone have geeklog running with nginx and php-fpm? >>> >>> >>> I am moving to new server and having some troubles... >>> >>> http://thatlinuxbox.com/blog/ >>> >>> Looks ok on the main page but clicking on an individual story leads to >>> 404. >>> >>> I have been trying to secure my setup to avoid some issues such as: >>> >>> >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From websitemaster at cogeco.net Fri May 15 22:42:22 2015 From: websitemaster at cogeco.net (Tom) Date: Fri, 15 May 2015 22:42:22 -0400 Subject: [geeklog-devel] geeklog with nginx and php-fpm In-Reply-To: References: Message-ID: <00ae01d08f81$f0070750$d01515f0$@cogeco.net> Nope sorry. Tom From: geeklog-devel [mailto:geeklog-devel-bounces at lists.geeklog.net] On Behalf Of Dan Stoner Sent: May-15-15 9:11 PM To: Geeklog Development Subject: [geeklog-devel] geeklog with nginx and php-fpm Does anyone have geeklog running with nginx and php-fpm? I am moving to new server and having some troubles... http://thatlinuxbox.com/blog/ Looks ok on the main page but clicking on an individual story leads to 404. I have been trying to secure my setup to avoid some issues such as: -------------- next part -------------- An HTML attachment was scrubbed... URL: From komma at ivywe.co.jp Sat May 16 00:59:54 2015 From: komma at ivywe.co.jp (=?UTF-8?B?5LuK6aeS5ZOy5a2Q?=) Date: Sat, 16 May 2015 13:59:54 +0900 Subject: [geeklog-devel] geeklog with nginx and php-fpm In-Reply-To: <00ae01d08f81$f0070750$d01515f0$@cogeco.net> References: <00ae01d08f81$f0070750$d01515f0$@cogeco.net> Message-ID: Hiroron tried and succeeded. http://www.winkey.jp/article.php/20140522171355469 -- Ivy 2015-05-16 11:42 GMT+09:00 Tom : > Nope sorry. > > > > Tom > > > > From: geeklog-devel [mailto:geeklog-devel-bounces at lists.geeklog.net] On > Behalf Of Dan Stoner > Sent: May-15-15 9:11 PM > To: Geeklog Development > Subject: [geeklog-devel] geeklog with nginx and php-fpm > > > > Does anyone have geeklog running with nginx and php-fpm? > > > > > > I am moving to new server and having some troubles... > > > > http://thatlinuxbox.com/blog/ > > > > Looks ok on the main page but clicking on an individual story leads to 404. > > > > I have been trying to secure my setup to avoid some issues such as: > > > > > > > > > _______________________________________________ > geeklog-devel mailing list > geeklog-devel at lists.geeklog.net > https://pairlist8.pair.net/mailman/listinfo/geeklog-devel > From websitemaster at cogeco.net Sun May 24 12:55:29 2015 From: websitemaster at cogeco.net (Tom) Date: Sun, 24 May 2015 12:55:29 -0400 Subject: [geeklog-devel] Function CTL_plugin_themebaseURL name changed to CTL_plugin_themeFindFile and new CTL_plugin_setTemplatesFunctions Function Message-ID: <00f701d09642$70ac6aa0$52053fe0$@cogeco.net> Just a not to developers the new function CTL_plugin_themebaseURL that was added for the upcoming version of Geeklog has had its named changed to CTL_plugin_themeFindFile. This gives it a better description of the function since it now can return the physical path to a template file as well. I have also added a new function called CTL_plugin_setTemplatesFunctions which I failed to mention in the Commit description (oops). This function now allows plugins to have their own functions.php file in their template/theme directory which would work similar to how a theme's function.php file works. This file would not be required. This way the plugin theme templates could specify what additional javascript files, javascript librarys and css files it needs and Geeklog could add it if the current theme has not already. The forum plugin makes use of all of these changes. For code examples check the latest forum plugin code found in its repository. https://code.google.com/p/geeklog/ Tom