Page 1 of 1

index.php gets a 404 file not found error

Posted: Thu 10. Dec 2009, 20:25
by icanectc_ma
Hey All,

Running PHPWCMS in Windows Server 2008 running PHP 5.30. I run other php scripts just fine. NO PHP errors. The PHPWCMS admin tools and login.php work just fine. However When trying to access the index.php page I get a 404 file not found error. When it is clearly there. Any help would be appreciated!

Re: index.php gets a 404 file not found error

Posted: Fri 11. Dec 2009, 01:03
by Oliver Georgi
Check include/inc_lib/default.inc.php and search for

Code: Select all

$_PERMIT =& new Permissions();
change it to

Code: Select all

$_PERMIT = new Permissions();
This should help.

Re: index.php gets a 404 file not found error

Posted: Tue 15. Dec 2009, 22:17
by icanectc_ma
Oliver,

sorry for the late response I tried this to no avail same problem.

Re: index.php gets a 404 file not found error

Posted: Tue 15. Dec 2009, 23:48
by Oliver Georgi
send error logs.

Re: index.php gets a 404 file not found error

Posted: Wed 16. Dec 2009, 17:53
by zuker
Hi Oliver,
I also have the same problem.
I installed phpwcms on new server, installation was successful, but unfortunately I can’t see the content that I put with admin tool. Can you take a look? I have send you an email with links.

Thanks for help in advance.

Re: index.php gets a 404 file not found error

Posted: Wed 16. Dec 2009, 18:08
by Oliver Georgi
zuker wrote:Hi Oliver,
I also have the same problem.
I installed phpwcms on new server, installation was successful, but unfortunately I can’t see the content that I put with admin tool. Can you take a look? I have send you an email with links.

Thanks for help in advance.
I have checked. You use PHP 4.3.x. Your PHP stops processing if an error occurs. result: white page with no content.

Re: index.php gets a 404 file not found error

Posted: Thu 17. Dec 2009, 12:45
by zuker
Thank you Oli for clarification.

So as I understand with such PHP sting there is no way to see or somehow in other way to find out what kind of error occurs.

What would you suggest? Should I ask provider to disable that PHP function?

Re: index.php gets a 404 file not found error

Posted: Thu 17. Dec 2009, 12:49
by Oliver Georgi
No you need PHP. Your provider should tell you how you can check PHP error log to see what throws an error.

Re: index.php gets a 404 file not found error

Posted: Thu 17. Dec 2009, 18:05
by icanectc_ma
Oliver, I would love to provide you with error logs however PHP is not producing any errors.

Re: index.php gets a 404 file not found error

Posted: Thu 17. Dec 2009, 22:50
by zuker
I asked my provider to switch PHP display errors values from “Off” to “On” and now I get my site content. I see PHP errors and I can fix it now.

Thank you, Oliver.

To: icanectc_ma. You think that your PHP is not producing any errors because you can’t see them. I think your problem is the same as mine. Check out your PHP settings.