Welcome to Geeklog Wednesday, October 18 2017 @ 04:11 pm EDT


Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/2005
Posts: 1569
Location:la rochelle, France
I installed paypal and maps plugins (working on 1.7.2) on a geeklog 1.8.0 beta but I can not access to admin/configuration.php
2 - array_values() expects parameter 1 to be array, null given @ C:\wamp\www\geeklog-1.8.0b1\system\classes\config.class.php line 693


In the wiki I can read :
As of Geeklog 1.8.0 the configuration class was updated with built in tab support while still being fully backwards compatible.


Ben
I'm available to customise your themes or plugins for your Geeklog CMS

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/2005
Posts: 1231
Thanks Ben I will take a look.


I would also like to point out that about 3 of the Geeklog configuration options (ones dealing with a dropdown like enabling Meta Tags) cannot be changed due to a validation bug.

Tom
One of the Geeklog Core Developers.

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/2005
Posts: 1231
Hmmm, it looks like a security check that fails in the configuration (the new configuration allows you to restrict or grant user access to configuration options based on the tab). It is a fairly simple fix but I have other work I should be doing at the moment. I will fix it tomorrow and send you the update file so you can continue testing.

Thanks

Tom

PS looking at the Plugin Configuration Wiki page I see I need to add the nformation about the new security feature.
One of the Geeklog Core Developers.

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/2005
Posts: 1569
Location:la rochelle, France
Thank you for your hard work.

Ben
I'm available to customise your themes or plugins for your Geeklog CMS

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/2005
Posts: 1231
I have fixed the issue Ben (the problem wasn't exactly what I thought).

http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/

The updated file with the fix is config.class.php. You should also probably download configuration_validation.php as well which fixes another problem.

I tested the fix with your PayPal plugin.

While I was enabling and disabling the PayPal plugin to test my fix I notice that the plugin seems to mess with the css and the functionality of the My Account page. I am not sure what is causing that or if it exists in previous versions of Geeklog... just thought you might want to know.

Tom
One of the Geeklog Core Developers.

Status: offline

ivy

Forum User
Full Member
Registered: 25/11/2004
Posts: 290
Location:Tokyo Japan
Tom

Thanks!
It's Okay both of Paypal and Maps plugin.
0001298: Configuration Validation, too.

My account page problem ( css and html ) when using Paypal or Maps plugin:
http://project.geeklog.net/tracking/view.php?id=1296
(nested form tag)
only change template file.
Geeklog Japan https://www.geeklog.jp

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/2005
Posts: 1569
Location:la rochelle, France
Tom Thanks for the config solution and the report:
the plugin seems to mess with the css and the functionality of the My Account page

As Ivy says, it is a professional template issue.

Ben
I'm available to customise your themes or plugins for your Geeklog CMS

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/2005
Posts: 1231
I missed seeing that bug report.

I assigned it to myself and will include the fix in 1.8.0
One of the Geeklog Core Developers.

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/2005
Posts: 1569
Location:la rochelle, France
I saw you have already fix it Big Grin Thanks a lot.

Ben
I'm available to customise your themes or plugins for your Geeklog CMS

Status: offline

ivy

Forum User
Full Member
Registered: 25/11/2004
Posts: 290
Location:Tokyo Japan
Thanks!
I saw too.

Geeklog Japan https://www.geeklog.jp

All times are EDT. The time is now 04:11 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content