![]() |
BackendPro 0.6.1 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: BackendPro 0.6.1 (/showthread.php?tid=7381) |
BackendPro 0.6.1 - El Forum - 04-09-2008 [eluser]adamp1[/eluser] When a user logs in all their details are stored in a session cookie, to to get their user_id it should be something along the lines of Code: $this->session->userdata('id'); This isn't yet documented in the user guide but it should be soon. BackendPro 0.6.1 - El Forum - 04-09-2008 [eluser]zknight[/eluser] [quote author="adamp1" date="1207773254"]When a user logs in all their details are stored in a session cookie, to to get their user_id it should be something along the lines of Code: $this->session->userdata('id'); This isn't yet documented in the user guide but it should be soon.[/quote] Sweet. It automagically works! I am sure I have only been able to envision a small capacity of BeP functionality and how I might be able to use it. Looking forward to the journey! Thanks. BackendPro 0.6.1 - El Forum - 04-09-2008 [eluser]adamp1[/eluser] Yes, as said not every feature has been documented fully or explained, so there is already alot in the system which people don't know about. It juts finding time to document it. BackendPro 0.6.1 - El Forum - 04-12-2008 [eluser]nikolaaa[/eluser] I try 3 times to install this and after successful installation I only see blank page. Do you have idea where could be a problem? BackendPro 0.6.1 - El Forum - 04-12-2008 [eluser]Tom Glover[/eluser] Can you check your Apache access and error log's and report back with any thing that looks like the cause. black screens are to do with missing files usually, and your error log will show this. BackendPro 0.6.1 - El Forum - 04-12-2008 [eluser]nikolaaa[/eluser] Can this help: Code: [Fri Apr 11 18:36:14 2008] [error] [client 127.0.0.1] File does not exist: /Applications/MAMP/htdocs/backendpro/index.html Here is php errorlog Code: [12-Apr-2008 17:42:59] PHP Stack trace: and log from CI Code: DEBUG - 2008-04-12 17:43:43 --> Config Class Initialized BackendPro 0.6.1 - El Forum - 04-12-2008 [eluser]adamp1[/eluser] As said above, blank pages are to do with pages missing. Just looking at the php errorlog. Its says that it doesn't like line 26 of MY_Controller. This is a static variable declaration. Can I ask did you try to load the app twice? Because the second stack trace dosn't have the error. Also what version of php are you using? I would also check that your server is setup to access index.php files instead of index.html, this may be a cause to the issue. BackendPro 0.6.1 - El Forum - 04-12-2008 [eluser]nikolaaa[/eluser] PHP Version 4.4.4 I try again and php error is still Code: [12-Apr-2008 21:56:54] 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 I try many times to copy CI base and your pack and to be sure that all files are on place. Do you have idea what else could be problem? BackendPro 0.6.1 - El Forum - 04-12-2008 [eluser]adamp1[/eluser] OK next thing to try is forgot BackendPro, can you get a basic CodeIgniter website (i.e the default welcome controller working?) on its own. Nothing else. BackendPro 0.6.1 - El Forum - 04-12-2008 [eluser]nikolaaa[/eluser] Yes yes, I'm developing long time in CI on this local server |