View Full Version : index.php not showing
fl00r
11-16-2005, 06:34 AM
Hi all,
I have the same problem as discriped here http://forum.pixelpost.org/showthread.php?t=1143&highlight=index.php
Install went very well and I can access the admin area without any problems.
I'm running PixelPost on my own (Debian) Apache2 server.
I am rather a newbie when it comes to PHP and don't know where to look for opening tag <? to replace it with <?php as suggested in the thread.
Can anybody point me in the right direction please? Additionaly: where do I need to modify my php.ini so that both <? and <?php works?
My config:
You are running version 1.4.2 of Pixelpost. Released 18 July 2005.
Latest pixelpost version: Check
Looking for help or want to give feedback, please step into pixelpost forum.
www.pixelpost.org/forum/
Host Information
PHP-version 5.0.5-3 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 4.1.14-Debian_6-log (Pixelpost's min requirement: MySQL 3.23.58)
GD-lib 2.0 or higher with JPEG support
Server software Apache/2.0.54 (Debian GNU/Linux) PHP/5.0.5-3
EXIF Pixelpost is using exifer v1.5 for EXIF information.
Paths
Guessed imagepath: /var/www/sites/haksblog/images/
Configured Imagepath /var/www/sites/haksblog/images/
Image Directory: OK - Can we write to the directory? YES.
Thumbnails Directory: OK - Can we write to the directory? YES.
Language Directory: OK
Addons Directory: OK
Includes Directory: OK
Templates Directory: OK
Connie
11-16-2005, 06:54 AM
so it means that at your host the opening tag for any PHP script must be
"<?PHP "
and "<?" is not enough?
because very very many people use short opening tags "<?" instead of long opening tags "<?php" I do not suggest that you start to identify all tags in all scripts and try to change anything if you found a short form
because any update will bring the same problem again and any other script will bring the same problem again
so you will never be on the safe side
so ask your hoster to modify the configuration of PHP
the PHP configuration option which causes your problem is:
--disable-short-tags
Disable the short-form <? start tag by default.
short_open_tag
Tells whether the short form (<? ?>) of PHP's open tag should be allowed. ..... Also if disabled, you must use the long form of the PHP open tag (<?php ?>).
this entry can be set in in php.ini, .htaccess or httpd.conf
so your hoster, if he does not want to change it categorically, could configure it for you for the directory ( and subdirectories) of Pixelpost especially
hope that helps
don't start to edit something yourself if you are not sure what you are doing
so ask your hoster to change that for you
fl00r
11-16-2005, 07:15 AM
Thanks for your quick reply!
I am my own host so I had to edit my php.ini myself.
This is what I did:
I edited php.ini --> short_open_tag = Off to short_open_tag = On
After a restart of Apache and a refresh of my browser I get a blank page:
http://haksblog.hakstege.net
Any other suggestions?
Thanks again!
Connie
11-16-2005, 07:27 AM
to be sure that no .htaccess etc. overwrites the directive,
call this short test-script from the same directory where PP is
<?
echo "this is done with short tags<hr>";
?>
<?php
echo "<hr>this is done with long tags<hr>";
?>
fl00r
11-16-2005, 08:13 AM
But when I remove the script and try to load the original index.php a blank screen is showing:confused:
fl00r
11-16-2005, 10:58 AM
Page is still blank :(
I resolved the thumbnails/php5 issue thanks to the forum but again: no index.php is showing. All blank/white/nothing
I tried to debug with error_reporting(E_ALL); but no errors came up.
Plaese give me a clue! Thank you very much!!
The URL is: http://haksblog.hakstege.net
Torehs
11-16-2005, 04:40 PM
Page is still blank :(
I resolved the thumbnails/php5 issue thanks to the forum but again: no index.php is showing. All blank/white/nothing
I tried to debug with error_reporting(E_ALL); but no errors came up.
Plaese give me a clue! Thank you very much!!
The URL is: http://haksblog.hakstege.net
I have exactly the same problem as you! I have just installed the page and I have never seen the right frontpage cause of the blank page. A blank page...
http://fotore.hotserv.dk
Do you know what the problem is?
fl00r
11-17-2005, 11:54 AM
Where is Connie when you need him ;)
Connie
11-17-2005, 12:41 PM
if you need Connie, you need HER!
But I am busy and I am restoring my PP installation which sits on a server which was cracked by a f... asshole....
so I have no time, sorry
why always people think I am male????? I am female for more then 53 years now!
fl00r
11-17-2005, 01:02 PM
if you need Connie, you need HER!
But I am busy and I am restoring my PP installation which sits on a server which was cracked by a f... asshole....
so I have no time, sorry
why always people think I am male????? I am female for more then 53 years now!
O Connie am I ashamed! Sorry for that. Good luck and I hope everything will be back on track (for me ánd you).
Connie
11-17-2005, 01:33 PM
I accept your excuse ;=)
Torehs
11-18-2005, 01:32 PM
I think the problem is that we both have PHP 5 installed.
fl00r
11-18-2005, 01:43 PM
I think the problem is that we both have PHP 5 installed.
I know there are some issues with creating thumbnails and PHP5 but there are some workarounds on the board.
fl00r
11-18-2005, 02:29 PM
I think the problem is that we both have PHP 5 installed.
Take a look at this post: http://forum.pixelpost.org/showthread.php?t=2165&highlight=php5
Resolved my problems! :D
I have the same problem running 1.4.3 and server has PHP5 installed. fl00r, what did you exactly modify? Could you possibly post an instruction here? I have no knowledge of PHP, can't guess from the post which 1.4.2 version.
Thank you
Joe[y]
02-03-2006, 08:18 AM
people using php5 will be happy to know that version 1.5 supports php5 - you can download the beta from this forum. look in the 'version releases' section.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.