Posted on: 04/04/11 08:28am
By: ::Ben
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
Re: geeklog 1.8.0 beta release
Posted on: 04/04/11 08:33am
By: Laugh
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
Re: geeklog 1.8.0 beta 1 config issue
Posted on: 04/04/11 08:53am
By: Laugh
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.
Re: geeklog 1.8.0 beta 1 config issue
Posted on: 04/04/11 09:32am
By: ::Ben
Thank you for your hard work.
Ben
Re: geeklog 1.8.0 beta 1 config issue
Posted on: 04/05/11 02:06pm
By: Laugh
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
Re: geeklog 1.8.0 beta 1 config issue
Posted on: 04/05/11 10:09pm
By: ivy
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.
Re: geeklog 1.8.0 beta 1 config issue
Posted on: 04/06/11 03:16am
By: ::Ben
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[*1] .
Ben
Re: geeklog 1.8.0 beta 1 config issue
Posted on: 04/06/11 08:53am
By: Laugh
I missed seeing that bug report.
I assigned it to myself and will include the fix in 1.8.0
Re: geeklog 1.8.0 beta 1 config issue
Posted on: 04/06/11 09:49am
By: ::Ben
I saw you have already fix it
Thanks a lot.
Ben
Re: geeklog 1.8.0 beta 1 config issue
Posted on: 04/06/11 09:57am
By: ivy
Thanks!
I saw too.