Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Failed... (include_path='.:/php/includes:/usr/share/php')
I sincerly doubt this is a problem with textpattern. My server administrator has been mucking about trying to get GD to work. So today, he sends me an email telling me that he was successful. Yet, upon entering my domain, guess what I see?
Warning: main(/var/www/html/textpattern/publish.php): failed to open stream: No such file or directory in /home/virtual/site20/fst/var/www/html/index.php on line 27
Warning: main(): Failed opening ‘/var/www/html/textpattern/publish.php’ for inclusion (include_path=’.:/php/includes:/usr/share/php’) in /home/virtual/site20/fst/var/www/html/index.php on line 27
Fatal error: Call to undefined function: textpattern() in /home/virtual/site20/fst/var/www/html/index.php on line 28
It gets even worse on the admin pages.
Any thoughts or suggestions?
The only php application on my server effected is Textpattern ( the most important one of course )
Thanks,
Maybe seeing phpinfo would help in making an educated response http://www.bertelsen.ca/phpinfo.php
Last edited by 1beb (2005-12-01 18:45:21)
Proud Canadian. Toronto Locksmith , Actualize Consulting
Offline
Re: Failed... (include_path='.:/php/includes:/usr/share/php')
OOOOoo, I got it figured out. All of the pages on my server had their permissions changed somehow.
Thank you “Diagnostics Tab”
Awsomeness!
Proud Canadian. Toronto Locksmith , Actualize Consulting
Offline
Re: Failed... (include_path='.:/php/includes:/usr/share/php')
I don’t get it!
Textpattern version: 4.0.2 (unknown revision)
last_update: 2005-11-09 05:09:18/2005-11-09 05:23:17
Document root: /home/virtual/site20/fst/var/www/html
$path_to_site: /var/www/html
Textpattern path: /var/www/html/textpattern
Permanent link mode: section_title
Temp folder: /var/www/html/textpattern/tmp
Site URL: www.bertelsen.ca
PHP version: 4.3.9
Register globals: 1
server_time: 2005-12-01 22:55:53
MySQL: 4.1.12
Locale: en_GB.UTF-8
Server: Apache/2.0.52 (CentOS)
Pre-flight check:
————————————
/var/www/html/index.php is inaccessible
Image directory is not writable: /var/www/html/images
File Upload Path is not writable: /var/www/html/files
Temp folder is not writable: /var/www/html/textpattern/tmp
.htaccess file is missing
Your version of PHP has security related risks. Please turn register_globals off or update to a newer PHP version.
Missing files: /var/www/html/textpattern/include/txp_category.php, /var/www/html/textpattern/include/txp_plugin.php, /var/www/html/textpattern/include/txp_auth.php, /var/www/html/textpattern/include/txp_form.php, /var/www/html/textpattern/include/txp_section.php, /var/www/html/textpattern/include/txp_tag.php, /var/www/html/textpattern/include/txp_list.php, /var/www/html/textpattern/include/txp_page.php, /var/www/html/textpattern/include/txp_discuss.php, /var/www/html/textpattern/include/txp_prefs.php, /var/www/html/textpattern/include/txp_log.php, /var/www/html/textpattern/include/txp_preview.php, /var/www/html/textpattern/include/txp_image.php, /var/www/html/textpattern/include/txp_article.php, /var/www/html/textpattern/include/txp_css.php, /var/www/html/textpattern/include/txp_admin.php, /var/www/html/textpattern/include/txp_link.php, /var/www/html/textpattern/include/txp_diag.php, /var/www/html/textpattern/lib/admin_config.php, /var/www/html/textpattern/lib/txplib_misc.php, /var/www/html/textpattern/lib/taglib.php, /var/www/html/textpattern/lib/txplib_head.php, /var/www/html/textpattern/lib/classTextile.php, /var/www/html/textpattern/lib/txplib_html.php, /var/www/html/textpattern/lib/txplib_db.php, /var/www/html/textpattern/lib/IXRClass.php, /var/www/html/textpattern/lib/txplib_forms.php, /var/www/html/textpattern/publish/taghandlers.php, /var/www/html/textpattern/publish/atom.php, /var/www/html/textpattern/publish/log.php, /var/www/html/textpattern/publish/comment.php, /var/www/html/textpattern/publish/search.php, /var/www/html/textpattern/publish/rss.php, /var/www/html/textpattern/publish.php, /var/www/html/textpattern/index.php, /var/www/html/textpattern/css.php
————————————
Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: latin1
character_set_results: utf8
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/share/mysql/charsets/
18 Tables: OK
PHP extensions: yp, xml, wddx, tokenizer/0.1, sysvshm, sysvsem, standard/4.3.9, sockets, shmop, session, pspell, posix, pcre, pcntl, overload, mime_magic/0.1, iconv, gmp, gettext, ftp, exif/1.4 $Id: exif.c,v 1.118.2.35 2005/03/05 18:30:47 rasmus Exp $, dio/0.1, dbx, dba, curl, ctype, calendar, bz2, bcmath, zlib/1.1, openssl, gd, imap, ldap, mbstring, mysql, pgsql
/include/txp_category.php: unknown (unknown)
/include/txp_plugin.php: unknown (unknown)
/include/txp_auth.php: unknown (unknown)
/include/txp_form.php: unknown (unknown)
/include/txp_section.php: unknown (unknown)
/include/txp_tag.php: unknown (unknown)
/include/txp_list.php: unknown (unknown)
/include/txp_page.php: unknown (unknown)
/include/txp_discuss.php: unknown (unknown)
/include/txp_prefs.php: unknown (unknown)
/include/txp_log.php: unknown (unknown)
/include/txp_preview.php: unknown (unknown)
/include/txp_image.php: unknown (unknown)
/include/txp_article.php: unknown (unknown)
/include/txp_css.php: unknown (unknown)
/include/txp_admin.php: unknown (unknown)
/include/txp_link.php: unknown (unknown)
/include/txp_diag.php: unknown (unknown)
/lib/admin_config.php: unknown (unknown)
/lib/txplib_misc.php: unknown (unknown)
/lib/taglib.php: unknown (unknown)
/lib/txplib_head.php: unknown (unknown)
/lib/classTextile.php: unknown (unknown)
/lib/txplib_html.php: unknown (unknown)
/lib/txplib_db.php: unknown (unknown)
/lib/IXRClass.php: unknown (unknown)
/lib/txplib_forms.php: unknown (unknown)
/publish/taghandlers.php: unknown (unknown)
/publish/atom.php: unknown (unknown)
/publish/log.php: unknown (unknown)
/publish/comment.php: unknown (unknown)
/publish/search.php: unknown (unknown)
/publish/rss.php: unknown (unknown)
/publish.php: unknown (unknown)
/index.php: unknown (unknown)
/css.php: unknown (unknown)
————————————-
I changed permissions but it’s still not reading :( My website is kerboinked!
Proud Canadian. Toronto Locksmith , Actualize Consulting
Offline
#4 2005-12-02 05:23:47
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Failed... (include_path='.:/php/includes:/usr/share/php')
They probably moved your home directory:
Document root: /home/virtual/site20/fst/var/www/html
Textpattern path: /var/www/html/textpattern
Alex
Offline
Re: Failed... (include_path='.:/php/includes:/usr/share/php')
Yeah, I just got it figured. Updated config.php to reflect the change and all works as expected.
Although, I’m having a nasty little problem with a subdomain.
locks.bertelsen.ca is responding as 500 error, yet locks.bertelsen.ca/index.php pumps out as it should – bugger.
Proud Canadian. Toronto Locksmith , Actualize Consulting
Offline