Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I get this message whenever i try to run the phpwebsite setup ..
The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition phpws_language of the object you are trying to operate on was loaded _before_ the session was started in /srv/www/htdocs/phpweb/setup/update.php on line 98
also, php is picky on blank lines and spaces arround the <? and ?> tags.
Never put a blank line before or after these tags. Furthermore, don't put spaces after them too.
so do I need to check the update.php file for the error ... I downloaded the phpwebsite from sourceforge .. the other softwares I run are tomcat,phppostgresql,mysql,
actually I have 2 phpwebsite softwares running. One is in english while the other one is in another lang. The setup works with the english version but not with the other one ... cant fig out the problem though
teebones : I didn't agree with what you said you have as many white space you want....<snipped code>
The problem is being referred to is probably the one where your PHP program outputs some blank spaces, and then your tries to do something, such as the header() function, that requires that the output has not yet started. Therefore, you need to ensure that you don't have a blank line (or any other output) before the first <? if you intend to call header(), etc.
However, I don't think this is really related to the problem being reported, which sounds like a coding error. I'm not familiar with phpwebsite, but since it's a sourceforge project, I'd suggest having a look at the forums etc that sourceforge provides for the project; you may find other users who have had similar problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.