problem with adding article from cms template

  You are currently not logged in. You can view the forums, but cannot post messages. Log In | Register

29-Jan-12 21:12
ok, so I have followed the instructions from your build a cms in an afternoon . upon fixing various coding errors on my part, i have the admin side working, however when I make a post and save it, I get the Changes Saved message, yet my post isn't saved to my database.

I get no errors from mysql, php, or apache which i am running on Ubuntu Linux. I have created php driven sites and have had no problems using the combination on Linux before. So needless to say i am completely lost on where to start.

I don't have it up on my company site, however if you need me to, i can set it up fairly quick. just let me know.

thanks

--
http://www.sixtoed-design.com
The web design company that allows the customer to choose their design as its made.
30-Jan-12 01:08
@efwis: There's some info on troubleshooting here:

http://www.elated.com/forums/topic/5114/#post22209

Essentially you can use a try...catch block to retrieve the PDOException object and query it to discover the exact error.

More info on PDOException:

http://php.net/manual/en/class.pdoexception.php

--
Matt Doyle, Elated
3rd Edition of my jQuery Mobile book out now! Learn to build mobile web apps. Free sample chapter: http://store.elated.com/
30-Jan-12 06:23
@matt

Thanks,

Not sure where the problem was, couldn't get the try code to work, so i just made adjustments to demo download and replaced my files with it. Considering i worked on that in the middle of the night, half asleep, i'm sure it was a simple coding error that i couldn't see. Now I will try and make modifications to make it look the way I want. Eventually I will probably replace my wordpress install with it. Not sure yet. I might just make this a template for coding designs for customers to use.

[Edited by efwis on 30-Jan-12 06:24]

--
http://www.sixtoed-design.com
The web design company that allows the customer to choose their design as its made.

 
New posts
Old posts

Follow Elated