Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Server Moving and troubles appear
Please, could someone take a look and say what it’s wrong here?
Diagnostics are ok but the site url is giving me some Errors like:
<blockquote>Warning: main() [function.main]: open_basedir restriction in effect. File(/public_html/textpattern/publish.php) is not within the allowed path(s): (/home/instantaneo/public_html:/tmp:/opt/apache/lib/php) in /home/instantaneo/public_html/index.php on line 27</blockquote>
I guess there’s something wrong with the server configuration, register_globals is <strong>ON</strong>, I’ve tried to change it from the .htaccess with <strong>php_value register_globals 0</strong> (as before) but when use that I obtain a server Error page!!!
The Textpattern Diagnostics says:
<blockquote>Versión de Textpattern: 4.0.3 (r1188)
Última Modificación: 2006-07-24 22:04:09/2006-09-26 13:07:18
Document root: /home/instantaneo/public_html
$path_to_site: /home/instantaneo/public_html
Path a Textpattern: /home/instantaneo/public_html/textpattern
Modo de enlace permanente: section_title
open_basedir: /home/instantaneo/public_html:/tmp:/opt/apache/lib/php
Directorio temporal: /tmp
Dominio web: www.instantaneo.com
Versión de PHP: 4.4.4
Register globals: 1
Tiempo Local del Servidor: 2006-10-10 06:47:21
MySQL: 4.0.25-standard
Local: es_ES.UTF-8
Servidor: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_bwlimited/1.4 mod_log_bytes/1.2 mod_ssl/2.8.22 OpenSSL/0.9.7e FrontPage/5.0.2.2635
PHP Server API: cgi
Sistema Operativo del servidor: Linux 2.6.17-1.2142_FC4
contenidos del archivo .htaccess:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php </IfModule>#php_value register_globals 0
#php_value safe_mode 0
————————————
Charset (default/config): latin1/latin1
character_set: latin1
character_sets: latin1 big5 czech euc_kr gb2312 gbk latin1_de sjis tis620 ujis dec8 dos german1 hp8 koi8_ru latin2 swe7 usa7 cp1251 danish hebrew win1251 estonia hungarian koi8_ukr win1251ukr greek win1250 croat cp1257 latin5
24 Tables: OK
Extensiones de PHP: xslt, xml, tokenizer/0.1, standard/4.4.4, sockets, session, posix, overload, mysql, mime_magic/0.1, mhash, mcrypt, mbstring, imap, iconv, gettext, gd, ftp, exif/1.4 $Id: exif.c,v 1.118.2.37.2.4 2006/01/01 13:46:52 sniper Exp $, domxml/20020815, curl, ctype, calendar, bcmath, zlib/1.1, pcre, openssl, ionCube Loader, Zend Optimizer
/include/txp_category.php: r1154 (dffd7979531373149c74e3eedfbb50e2)
/include/txp_plugin.php: r1167 (c2c7d7fc1e4918c79cd3658c62e4fbda)
/include/txp_auth.php: r1166 (3e2eaca7b151e14561125ab68e722203)
/include/txp_form.php: r947 (c0e4393328985742bd81cda61d10d5ed)
/include/txp_section.php: r1154 (d85c1ce405fccd9dac364c8ef4eb72eb)
/include/txp_tag.php: r1134 (3e2dfbd6fdccf0693c147ba22a9705e7)
/include/txp_list.php: r1042 (e85d2de1c63b41f0e5bdcf268e3c487b)
/include/txp_page.php: r876 (e22dc37b465b87757722732a225b25f3)
/include/txp_discuss.php: r1170 (1e56e08cc95c255783410076db12529f)
/include/txp_prefs.php: r1170 (c806be1b1f238e75a5ff6b7cf8432d17)
/include/txp_log.php: r906 (68c4f32b70ce41a349f197b6bba6c200)
/include/txp_preview.php: r628 (a16f84b6610fc66db0bce51e25b7af34)
/include/txp_image.php: r1168 (e8ec79ff9b3a21c356ee23da7973b1f0)
/include/txp_article.php: r1170 (4777c0b6ebb59cbfede716fa77ee2fa5)
/include/txp_css.php: r922 (0c596d9968052b89581d1ca65a77c5de)
/include/txp_admin.php: r1074 (7e87ff0e29101593fb170b1a2de9fd59)
/include/txp_link.php: r1154 (7c0c55ff6580793dff0626f169e64ad6)
/include/txp_diag.php: r1154 (5d66b90f7e7720dd0e3526ca1b24cf89)
/lib/admin_config.php: r877 (bd900e4f14869c334de05ee73f4f8a65)
/lib/txplib_misc.php: r1170 (7000a1b27aa40c90978211e6cff358ec)
/lib/taglib.php: r628 (493878f922262157601c26a999a1c478)
/lib/txplib_head.php: r1183 (fb85b66b4e379476935233f844844bef)
/lib/classTextile.php: r1141 (928496fc857db8efe1b8c51c0a873eae)
/lib/txplib_html.php: r1166 (bd11de6e6daa3391eab75a46db55ae36)
/lib/txplib_db.php: r1170 (5a2c3a1e328cd343a067cbb8fd25cd79)
/lib/IXRClass.php: r765 (2efb0fb05b55c634072b0bae9af38bdd)
/lib/txplib_forms.php: r950 (74da2c67abe4786c353ea416c13656eb)
/publish/taghandlers.php: r1188 (4e8eaeb0543d8fde09d6e423af4253b9)
/publish/atom.php: r1117 (14c1aa23c708898d7723b3d6b9c89050)
/publish/log.php: r864 (c3d16d3dfe375819a19fcd62398e4b86)
/publish/comment.php: r1187 (d55dde574418d2eaf6a394d703056d9a)
/publish/search.php: r884 (80f942f1dc301857c2fa9dcb16aa1246)
/publish/rss.php: r1099 (ce0d82b9435d8f1de01c8e2b6c585f93)
/publish.php: r1186 (8ae68468c4a5085e89560206bd42a7a0)
/index.php: r1172 (52f753ebb51c1f7d5312485d9dbad7e4)
/css.php: r944 (df1c754417bdfb4e97a2c83ae5b454ee)
</blockquote>
Any idea?
Thx in advance
Offline
Re: Server Moving and troubles appear
Open config.php and change txpath value from
/public_html/textpattern@
to
/home/instantaneo/public_html/textpattern
Last edited by Sencer (2006-10-10 14:29:13)
Offline
Re: Server Moving and troubles appear
Sencer: THANKS!
I was thinking to declare the war to the server administrator! ;-)
Everything seems to work ok …
See ya’
Offline
Pages: 1