Page 1 of 1

Errors Generating Articles

Posted: Sun 23. Apr 2006, 00:35
by wrmetro
Hi.

I am trying to develop a site on phpwcms. I have shared hosting and will be transferring the domain to the site once it is ready, but for now the site is in the form of http://www.mysite.com/~user

I installed WCMS via Fantastico. I modified the conf.inc.php file to show the proper URL rather than the domain name that will later be transferred.

Templates and page layout set up fine and I can move from page to page. However, when I try to create articles I get this message.

Warning: main(/usr/local/apache/htdocs/include/inc_tmpl/article.editsummary.tmpl.php): failed to open stream: No such file or directory in /home/wrmetro/public_html/include/inc_lib/article.editcontent.inc.php on line 226

Warning: main(): Failed opening '/usr/local/apache/htdocs/include/inc_tmpl/article.editsummary.tmpl.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wrmetro/public_html/include/inc_lib/article.editcontent.inc.php on line 226

In conf.inc I have this item.
$_SERVER['DOCUMENT_ROOT'] = '/var/www/html'

I am wondering if because of shared server, I need more description than this up until I can transfer my domain over.

Server running LINUX and Apache 1.3.33
Any ideas? Thanks.

One More Bit of Info

Posted: Sun 23. Apr 2006, 01:37
by wrmetro
In reviewing other responses, I note that my conf.inc.php file does not have any line for:

$phpwcms['DOC_ROOT']

Re: One More Bit of Info

Posted: Sun 23. Apr 2006, 01:47
by DeXXus
See my response to your other post:
http://www.phpwcms.de/forum/viewtopic.php?p=63714#63714
wrmetro wrote:In reviewing other responses, I note that my conf.inc.php file does not have any line for:

$phpwcms['DOC_ROOT']
wrmetro wrote:I installed WCMS via Fantastico.
I ~believe~ the version from Fantastico is about two (2) years old and MUCH has changed & improved since then... including the use of $phpwcms['DOC_ROOT'].

You REALLY should download 1.2.6-DEV from the CVS at the phpWCMS DOCU site in my signature. This will most likely provide the best upgrade path to the "recently announced" new version that should be here, shortly.

Posted: Sun 23. Apr 2006, 03:29
by wrmetro
Still getting the same error.

I ran phpwcms DOCUMENT_ROOT test and it told me to add

$_SERVER['DOCUMENT_ROOT'] = '/home/wrmetro/public_html';

but I get the same error messages still. Everything else seems to work, but articles generate errors everytime. I have a question into my ISP to see what they say.

Not sure this helps, but when trying to upload a file using the Admin panel, I got this error:


Warning: main(/usr/local/apache/htdocs/include/inc_ext/hft_image/hft_image.php): failed to open stream: No such file or directory in /home/wrmetro/public_html/include/inc_lib/imagick.convert.inc.php on line 44

Warning: main(): Failed opening '/usr/local/apache/htdocs/include/inc_ext/hft_image/hft_image.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wrmetro/public_html/include/inc_lib/imagick.convert.inc.php on line 44
Error while creating user directory.

Could this be a permissions issue?