BackendPro 0.6.1 |
[eluser]adamp1[/eluser]
@CARP: The issue you found has now been fixed. I have not released a new version yet since I need to fix some other things, but for a temp fix until the next release just save the following over what's already in system/application/models/base_model.php Code: <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); Can you let me know if this solves the problem.
[eluser]Unknown[/eluser]
Hi Adam. Interesting project. I ran in to some problems installing, though. The Installation routine broke the first time I tried to install, because it couldnt locate the recaptcha directory for writing config file. After duplicating the modules directory from inside the system directory to the root htdocs folder the installation script succeeded. Now, when trying to go to the login page, the following error shows up: A PHP Error was encountered Severity: Notice Message: Undefined property: Userlib::$_container Filename: libraries/Userlib.php Line Number: 210 An Error Was Encountered Unable to load the requested file: .php CodeIgniters Log says: ERROR - 2008-04-14 11:14:18 --> Severity: Notice --> unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 0 of 1 bytes /Applications/MAMP/htdocs/modules/preferences/models/preference_model.php 66 ERROR - 2008-04-14 11:14:18 --> Severity: Notice --> unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 0 of 1 bytes /Applications/MAMP/htdocs/modules/preferences/models/preference_model.php 66 ERROR - 2008-04-14 11:14:18 --> Severity: Notice --> unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 0 of 1 bytes /Applications/MAMP/htdocs/modules/preferences/models/preference_model.php 66 ERROR - 2008-04-14 11:14:18 --> Severity: Notice --> Undefined property: Userlib::$_container /Applications/MAMP/htdocs/modules/auth/libraries/Userlib.php 210
[eluser]nikolaaa[/eluser]
I changed base_model.php and still have error: [14-Apr-2008 12:17:14] PHP Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /Applications/MAMP/htdocs/backendpro/system/application/libraries/MY_Controller.php on line 26 [14-Apr-2008 12:17:14] PHP Stack trace: [14-Apr-2008 12:17:14] PHP 1. {main}() /Applications/MAMP/htdocs/backendpro/index.php:0 [14-Apr-2008 12:17:14] PHP 2. require_once() /Applications/MAMP/htdocs/backendpro/index.php:117 [14-Apr-2008 12:17:14] PHP 3. load_class() /Applications/MAMP/htdocs/backendpro/system/codeigniter/CodeIgniter.php:137
[eluser]adamp1[/eluser]
Yes there is an issue with using Static variable declarations in PHP4 which I forgot about. I am in the process of fixing this now, a new version should be up soon.
[eluser]adamp1[/eluser]
Right new build is out: ChangeLog: * Changed the way the view file container was passed from the Controller to the Userlib library. It is now passed as a function parameter instead of by using static variables which were not PHP4 compatible. * Updated the install script to take note of new modules folder from Version 0.2 alpha 20080413 * Replaced call_user_method_array with call_user_func_array in base_model.php due to original being deprecated. Can get it from my GoogleCode page.
[eluser]CARP[/eluser]
Hi Adam Yes, it fixed, now I have to solve why it is showing very ugly, without css Will let u know if I solve something about this
[eluser]nikolaaa[/eluser]
I can login to admin panel now, but there are new errors. If I open members modify - /backendpro/index.php/auth/admin/members/form/1.html or any other links iside admin panel here is error: Code: [14-Apr-2008 14:48:21] PHP Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /Applications/MAMP/htdocs/backendpro/system/application/models/Nested_sets_model.php on line 35
[eluser]PedroGrilo[/eluser]
[quote author="adamp1" date="1208175578"]..... @PedroGrilo: Can you give me the error message you get? I think even if you don't supply recaptcha keys it will still copy the file to its new location. Also are you on windows/linux?[/quote] Thanks for your reply. the error: Code: Could not open file: /cifiles/recaptcha.dat Also, when I try to install manually I get the UserLib error that j4k3 mentions here. Thanks for your attention. ps: MacOS X, MAMP, PHP5
[eluser]nikolaaa[/eluser]
Ok. I just comented Code: /* and it's working now.
[eluser]adamp1[/eluser]
@nikolaaa: The issue I think there is the library used "Thunder UK's Nested Sets library" seems to have a mix of PHP4 and PHP5, instead of commenting out that block, just delete the public bit (I have updated my source for the future also). @CARP: Make sure the css files are being included in the document. Also turn of asset caching if you have it on till you can figure out why, do get back to me on the reason (I like to keep in touch with problems people have) @PedroGrilo: Right first thing, the error in Userlib, it was a issue with PHP4, I have no fixed this and uploaded the new release, so this should be fixed. To do with the install problem, I think the error message is not very helpful. It actual means it cannot open the file it wants to write the new data to. This was due to me not updating the file path after moving the modules folder. Please can you download the newest release and try agian. |
Welcome Guest, Not a member yet? Register Sign In |