LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 05-18-2006, 09:14 AM   #1
sharp81
Member
 
Registered: Mar 2005
Posts: 79

Rep: Reputation: 15
phpwebsite error


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

Can you tell me what the problem is
 
Old 05-19-2006, 02:40 AM   #2
vikasumit
Member
 
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121

Rep: Reputation: 15
Hi,

It seems you have error in your code specific to phpws_language, I recommand you to ask the developer itself as he better give you idea.

Also do mention your PHP version and other softwares that you are running your application
 
Old 05-19-2006, 02:43 AM   #3
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
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.
 
Old 05-19-2006, 04:33 AM   #4
sharp81
Member
 
Registered: Mar 2005
Posts: 79

Original Poster
Rep: Reputation: 15
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,
 
Old 05-19-2006, 04:53 AM   #5
vikasumit
Member
 
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121

Rep: Reputation: 15
Hi,

teebones : I didn't agree with what you said you have as many white space you want,
I mean
Code:
<td>

<?

echo "hello" ;

?>

</td>
and

Code:
<td><?="hello"?></td>
are same (except a white space is shown when HTML is render on browser in few cases)

And for Sharp81 it seem you have problem with your server setting with PHP check that your PHP version is on that is recommended in software.
 
Old 05-19-2006, 05:17 AM   #6
sharp81
Member
 
Registered: Mar 2005
Posts: 79

Original Poster
Rep: Reputation: 15
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
 
Old 05-19-2006, 05:30 AM   #7
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
Quote:
Originally Posted by vikasumit
Hi,

teebones : I didn't agree with what you said you have as many white space you want,
I mean
Code:
<td>

<?

echo "hello" ;

?>

</td>
and

Code:
<td><?="hello"?></td>
are same (except a white space is shown when HTML is render on browser in few cases)

And for Sharp81 it seem you have problem with your server setting with PHP check that your PHP version is on that is recommended in software.

I was talking about php sessions in a script. not ordinairy plain php scriptcode.

Last edited by teebones; 05-19-2006 at 05:31 AM.
 
Old 05-19-2006, 07:55 AM   #8
Spudley
Member
 
Registered: Mar 2003
Location: Berkshire, England.
Distribution: SuSE 10.0
Posts: 299

Rep: Reputation: 32
Quote:
Originally Posted by vikasumit
Hi,

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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
aplay: pcm_write:1029: write error: Input/output error mimithebrain Linux - Software 2 12-04-2007 11:51 AM
Error message received from system Error while reading filter description for true Steel_J Linux - Software 2 03-04-2006 06:10 PM
updating new installation of 9.3 ERROR...ERROR...ERROR Morbid SUSE / openSUSE 3 08-15-2005 11:22 PM
ERROR running make when installing Nvidia drivers (syntax error) randyriver10 Linux - Software 5 02-21-2004 04:51 PM
problms w/ php 4.2.1 mozilla 0.9.9 enctype="mutlipart/form-data" w/ phpWebSite 0.8.3 coea77 Linux - Software 1 10-10-2002 03:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration