Warning: session_start(): Cannot send session cookie - headers already sent by (output started at c:\apache\htdocs\easycms\classes\core\parser\tags\ContainerControlsTag.class:98) in c:\apache\htdocs\easycms\classes\core\Site.class on line 89 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\apache\htdocs\easycms\classes\core\parser\tags\ContainerControlsTag.class:98) in c:\apache\htdocs\easycms\classes\core\Site.class on line 89 Warning: Cannot modify header information - headers already sent by (output started at c:\apache\htdocs\easycms\classes\core\parser\tags\ContainerControlsTag.class:98) in c:\apache\htdocs\easycms\classes\core\Site.class on line 337
Made the database and updated the config, Put in every dir an Cache dir but without succes
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK the message "headers already sent" comes when PHP is trying to write the header but some output has already be done. It shouldn't happen for it works perfectly on several installations (And I made a lost of test).
I guess a problem happen in your installation and a warning or an error message occurs at the very beginning of the code that explains the "header" issue.
Could you give me mode information about the outputs and your configuration ...
Cheer up!
Cedric
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, this means that you should have installed Mysql and have created a mysql database called "easycms" on your localhost (the PC in front of you), and that the user "root" is define and has no password.
Is this correct ?
Are you using windows or linux ? With which version of mysql ?
Cedric
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry but I cannot help you without further debug information. And, actually I don't understand the origin of the warning messages you get.
Maybe it is due to a misconfiguration of apache or PHP. Try to install easyPHP, and follow the instructions of the readme.txt file. It should work this way.
I plan to release some documentation in the next days. I hope this will help you. Check the documentation page of the website.
Cedric
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Check your texteditor
I was using scintilla but it was putting some extra bytes at the very begining of the file! I spent hours before I've guesed what was going on.
Try using notepad2
regards
wojtek
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could you please be more explicit ?
What file are you talking about and could you describe the issue that occurs when adding extra-bytes at the beginning of that file ?
(so, next time somebody has this problem this thread could help him)
Thanks,
Cedric
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There where some blank lines at the end of ContainerControlsTag.class. I made teh correction and re-uploaded easy-CMS-0.1.1.tar.gz.
OK this time I should work !
Really sorry for this. In fact, it simply could not work with thoses lines. You're now part of the easy-CMS alpha-testers communauty. So, thank you webinsta.
Cedric
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Okay that helps.
I already tested it with xampp and there it works but also not great a lot of fatal errors
Now tested again on my own server and have the following error
Fatal error: Call to undefined function: xslt_create() in c:\apache\htdocs\easycms\classes\core\templates\Template.class on line 111 with php php 4.3.6
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Note to Win32 Users: In order to enable this module on a Windows environment, you must copy several files from the DLL folder of the PHP/Win32 binary package to the SYSTEM32 folder of your windows machine. (Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32). For PHP <= 4.2.0 copy sablot.dll and expat.dll to your SYSTEM32 folder. For PHP >= 4.2.1 copy sablot.dll, expat.dll and iconv.dll to your SYSTEM32 folder.
I don't think a lot of unix servers has installed this addon
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at c:\apache\htdocs\easycms\classes\core\parser\tags\ContainerControlsTag.class:98) in c:\apache\htdocs\easycms\classes\core\Site.class on line 89 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\apache\htdocs\easycms\classes\core\parser\tags\ContainerControlsTag.class:98) in c:\apache\htdocs\easycms\classes\core\Site.class on line 89 Warning: Cannot modify header information - headers already sent by (output started at c:\apache\htdocs\easycms\classes\core\parser\tags\ContainerControlsTag.class:98) in c:\apache\htdocs\easycms\classes\core\Site.class on line 337
Made the database and updated the config, Put in every dir an Cache dir but without succes
OK the message "headers already sent" comes when PHP is trying to write the header but some output has already be done. It shouldn't happen for it works perfectly on several installations (And I made a lost of test).
I guess a problem happen in your installation and a warning or an error message occurs at the very beginning of the code that explains the "header" issue.
Could you give me mode information about the outputs and your configuration ...
Cheer up!
Cedric
Okay np
Apache 1.3.26 php 4.3.6
Downloaded the package and unzipped. Made the database and filled in the config.php
Then callad the index.php
config
define("DB_CONNECTION_DBMS", "1");
define("DB_CONNECTION_HOST", "localhost");
define("DB_CONNECTION_DB", "easycms");
define("DB_CONNECTION_USER", "root");
define("DB_CONNECTION_PASS", "");
I did not change anything off the package
Hope this helps
OK, this means that you should have installed Mysql and have created a mysql database called "easycms" on your localhost (the PC in front of you), and that the user "root" is define and has no password.
Is this correct ?
Are you using windows or linux ? With which version of mysql ?
Cedric
Win XP and mysql 4.0.20a-nt
and yes I made an database called easycms with user root and no pass
Trying to find out where your problem was coming from, I discovered that the schema of the database contained errors (.sql file).
So, please re-download the easy-CMS-0.1.1.tar.gz and re-install it from scratch.
Tell me if it works better or not.
Thanks to keep on trying!
Cedric
Downloaded latest version but still the same problem
What is define("DB_CONNECTION_DBMS", "1");
could this be the problem
No, this means that the DBMS to use is MySQL.
Sorry but I cannot help you without further debug information. And, actually I don't understand the origin of the warning messages you get.
Maybe it is due to a misconfiguration of apache or PHP. Try to install easyPHP, and follow the instructions of the readme.txt file. It should work this way.
I plan to release some documentation in the next days. I hope this will help you. Check the documentation page of the website.
Cedric
Check your texteditor
I was using scintilla but it was putting some extra bytes at the very begining of the file! I spent hours before I've guesed what was going on.
Try using notepad2
regards
wojtek
Hi Wojtek,
Could you please be more explicit ?
What file are you talking about and could you describe the issue that occurs when adding extra-bytes at the beginning of that file ?
(so, next time somebody has this problem this thread could help him)
Thanks,
Cedric
OK guys, I got it !
There where some blank lines at the end of ContainerControlsTag.class. I made teh correction and re-uploaded easy-CMS-0.1.1.tar.gz.
OK this time I should work !
Really sorry for this. In fact, it simply could not work with thoses lines. You're now part of the easy-CMS alpha-testers communauty. So, thank you webinsta.
Cedric
Okay that helps.
I already tested it with xampp and there it works but also not great a lot of fatal errors
Now tested again on my own server and have the following error
Fatal error: Call to undefined function: xslt_create() in c:\apache\htdocs\easycms\classes\core\templates\Template.class on line 111 with php php 4.3.6
It means that sablotron is not configured in your version of PHP (sablotron is a PHP module including an XSLT engine).
XAMPP for windows does not include this module (by default). You must then install it yourself.
I have no experience with XAMPP.
Please, keep me in touch if you find out how to configure the windows version of XAMPP for easy-CMS.
regards,
Cedric
This is what I found with the module sablotron
Note to Win32 Users: In order to enable this module on a Windows environment, you must copy several files from the DLL folder of the PHP/Win32 binary package to the SYSTEM32 folder of your windows machine. (Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32). For PHP <= 4.2.0 copy sablot.dll and expat.dll to your SYSTEM32 folder. For PHP >= 4.2.1 copy sablot.dll, expat.dll and iconv.dll to your SYSTEM32 folder.
I don't think a lot of unix servers has installed this addon
Downloads can be found here
http://www.gingerall.com/charlie/ga/xml/d_sab.xml
I had a similar problem on Win32
Make sure you have
output_buffering = on
in your php.ini file