Hi,
Everything is working just fine. Only problem is: I cannot add new pages!
I have been trying to solve it for many hours now and realy getting frustrated. I looked around the forum here and only one post describes the same problem: http://forum.cmsmadesimple.org/index.ph ... 427.0.html
Unfortunately, he did'nt manage to solve the problem - he's just adding new pages trough phpMyAdmin.
I got all the new versions, did a clean install and folowed all the steps carefully.
Here is what happens (it's just like the guy in the post above describes it):
- In the admin panel - "Add new page".
- Form comes upp like usually and let's you enter the page title, body, etc... One thing that's different from the "editing mode" is that there is only ONE flag next to the "Submit, Preview, Apply, Cancel" buttons (it's the flag of the default language) - as oposed to ALL flags in the "editing mode".
- Once I fill out all needed fields, I press "Submit" and see the message "The content was successfully added to the database."
- Guess what? Message lied - page was NOT created!!!
Any ideas are more then welcome!!!
Thanks!
-
MLE: Can't add new pages
Re: MLE: Can't add new pages
Have you enable debug in config.php and look for Error(1) or other errors in first page of debug?lollol wrote: Everything is working just fine. Only problem is: I cannot add new pages!
I have been trying to solve it for many hours now and realy getting frustrated. I looked around the forum here and only one post describes the same problem: http://forum.cmsmadesimple.org/index.ph ... 427.0.html
Have you look to error_log in your server?
Alby
Re: MLE: Can't add new pages
Ok, I activated the debug option and here is the output once I press the "Submit" button to try and save the new page:
http://pastebin.com/m67b54655
(It's a long text so I did'nt wanna clutter here, just click on the link)
Thanks!
http://pastebin.com/m67b54655
(It's a long text so I did'nt wanna clutter here, just click on the link)
Thanks!
Re: MLE: Can't add new pages
lollol wrote: Ok, I activated the debug option and here is the output once I press the "Submit" button to try and save the new page:
http://pastebin.com/m67b54655
(It's a long text so I did'nt wanna clutter here, just click on the link)
ALL fileds *_lang must be NULL(mysql): INSERT INTO cms_content (content_id, content_name_en, content_alias, type, owner_id, parent_id, template_id, item_order, hierarchy, id_hierarchy, active, default_content, show_in_menu, cachable, menu_text_en, markup, metadata, titleattribute, accesskey, tabindex, last_modified_by, create_date, modified_date) VALUES (64,'fsdf','fdsfs','content','1','-1','17',3,'','',1,0,1,1,'fdsfs','html','','','','','1','2008-10-16 10:01:21','2008-10-16 10:01:21')
#
Error (1364): Field 'content_name_sv' doesn't have a default value
Alby
Re: MLE: Can't add new pages
alby wrote: Have you enable debug in config.php and look for Error(1) or other errors in first page of debug?
Have you look to error_log in your server?
Alby
Well I was just about to give up...
Code: Select all
Error (1364): Field 'content_name_sv' doesn't have a default value<br>

Much thanks!
Re: MLE: Can't add new pages
Yeah I saw that... THANKS Albyalby wrote: ALL fileds *_lang must be NULL
Alby
