index.php gets a 404 file not found error

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
icanectc_ma
Posts: 3
Joined: Thu 10. Dec 2009, 18:34

index.php gets a 404 file not found error

Post 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!
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

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

Post 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.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
icanectc_ma
Posts: 3
Joined: Thu 10. Dec 2009, 18:34

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

Post by icanectc_ma »

Oliver,

sorry for the late response I tried this to no avail same problem.
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

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

Post by Oliver Georgi »

send error logs.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
zuker
Posts: 80
Joined: Fri 18. May 2007, 17:13
Location: Lithuania

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

Post 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.
٩(͡๏̯͡๏)۶
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

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

Post 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.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
zuker
Posts: 80
Joined: Fri 18. May 2007, 17:13
Location: Lithuania

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

Post 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?
٩(͡๏̯͡๏)۶
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

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

Post 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.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
icanectc_ma
Posts: 3
Joined: Thu 10. Dec 2009, 18:34

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

Post by icanectc_ma »

Oliver, I would love to provide you with error logs however PHP is not producing any errors.
zuker
Posts: 80
Joined: Fri 18. May 2007, 17:13
Location: Lithuania

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

Post 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.
٩(͡๏̯͡๏)۶
Post Reply