Menu

Copy of cannot start site locally by webinsta

Support
2005-01-21
2012-12-13
  • Cedric Francoys

    Cedric Francoys - 2005-01-21

    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

     
    • Cedric Francoys

      Cedric Francoys - 2005-01-21

      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

       
    • WEBInsta

      WEBInsta - 2005-01-21

      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 

       
      • Cedric Francoys

        Cedric Francoys - 2005-01-22

        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

         
    • WEBInsta

      WEBInsta - 2005-01-22

      Win XP and mysql 4.0.20a-nt
      and yes I made an database called easycms with user root and no pass

       
      • Cedric Francoys

        Cedric Francoys - 2005-01-22

        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

         
    • WEBInsta

      WEBInsta - 2005-01-22

      Downloaded latest version but still the same problem

      What is  define("DB_CONNECTION_DBMS", "1");

      could this be the problem

       
    • Cedric Francoys

      Cedric Francoys - 2005-01-22

      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

       
    • wwalczak

      wwalczak - 2005-01-22

      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

       
    • Cedric Francoys

      Cedric Francoys - 2005-01-23

      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

       
    • Cedric Francoys

      Cedric Francoys - 2005-01-23

      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

       
    • WEBInsta

      WEBInsta - 2005-01-23

      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

       
    • Cedric Francoys

      Cedric Francoys - 2005-01-23

      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

       
    • WEBInsta

      WEBInsta - 2005-01-24

      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

       
    • WEBInsta

      WEBInsta - 2005-01-24
       
    • Andrew Hall

      Andrew Hall - 2005-02-09

      I had a similar problem on Win32
      Make sure you have
      output_buffering = on
      in your php.ini file

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.