Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 05:57 pm EDT

Geeklog Forums

geeklog 1.8.0 beta 1 config issue


Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
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
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
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.
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
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.
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
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
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
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.
 Quote

Status: offline

ivy

Forum User
Full Member
Registered: 11/25/04
Posts: 314
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
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
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
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
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.
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
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
 Quote

Status: offline

ivy

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

Geeklog Japan https://www.geeklog.jp
 Quote

All times are EDT. The time is now 05:57 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