can´t get demo working

79 views
Skip to first unread message

chamel

unread,
Oct 22, 2013, 6:18:58 AM10/22/13
to uf...@googlegroups.com
Hi there, i want to uFlex as a framework for some backened/frontend project.

But i cant´t get it working in ways of being able to register a user, both on my localhost and my webspace.
As i am experimenting with the unchanged demo included in the latest release (0.96) i won´t post any code here.

When trying to register i always find myself with this message »New User Registration Failed«.
On my localhost i also get an error thrown within the /ps/register.php (i commented out the redirects to see whats happening) – the error is »Fatal error: Uncaught exception 'PDOException' with message 'You cannot serialize or unserialize PDOStatement instances' in [no active file]:0 Stack trace: #0 [internal function]: PDOStatement->__sleep() #1 {main} thrown in [no active file] on line 0«.

I am a professional programmer but i need to get this working soon. Any ideas or recommodations?

Thank you for your help, Chris

Pablo Tejada

unread,
Oct 22, 2013, 7:57:20 AM10/22/13
to uf...@googlegroups.com

Hi,

That error is new to me, it almost sounds irrelevant as nothing gets serialize or unserialized.

What version of PHP are you using?

Also did you created the DB users table manually or with the demo install script?
Make you use the install script since the base schema, located at the root of the repo, differs from the one on the demo. To trigger the install script try deleting the users table from your DB and deleting the core/config.php file from the demo. If you navigate the demo from your browser you should see the install script.

If the error persist, in ps/register.php try printing the console somewhere after $user->register() gets executed

echo '<pre>';
print_r($user->console);

You should comment that line that does the redirects so you can see the output.

--
Project's home page http://ptejada.com/projects/uFlex/
---
You received this message because you are subscribed to the Google Groups "uFlex" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uflex+un...@googlegroups.com.
To post to this group, send email to uf...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/uflex/d09c8e2d-3388-44e6-ad23-d6f10df90bc6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages