justuptime.com - monitor your servers & websites

Can view PHP files on my computer...

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

He has: 57 posts

Joined: Dec 2004

I'm trying to edit some php files and am unable to view them on my computer using an editor called PHP Expert Editor 3.3.

I downloaded all of the php files (for a GeekLog website) into my computer so I could remove certain elements that I wanted removed and also to change the appearance as well. But when I use my PHP Editor to view the file as a webpage I get the following message.

Warning: main(C:/My Site/config.phpsystem/classes/timer.class.php): failed to open stream: No such file or directory in C:\My Site\lib-common.php on line 159 Fatal error: main(): Failed opening required 'C:/My Site/config.phpsystem/classes/timer.class.php' (include_path='C:/My Site/config.phpsystem/pear/;.;C:\php5\pear') in C:\My Site\lib-common.php on line 159

What does it mean and how can I change things so that I can view the pages?

Thanks for any assistance...

Focused Investments at Secular Bull

KIJHL Hockey - Revelstoke Grizzlies

Busy's picture
Modrater

He has: 6,148 posts

Joined: May 2001

Sorry a bit early for me so didn't understand half of it, but if you have PHP installed on your PC (and using apache or IIS :eek:) depending on your setup try http://localhost/ then folders they in.
try maybe

http://localhost/classes/timer.class.php
or
http://localhost/config.phpsystem/classes/timer.class.php
or even
http://localhost/My Site/config.phpsystem/classes/timer.class.php

although I doubt it will be the last one, just going to http://localhost/ should give you a directory

<?bhb if(broken){ echo("It wasn't me Smiling "); } ?>
Learn HTML the ez way - EzHTML.net

Some people are like slinkies, they dont really serve any purpose but they still bring a smile to your face when you push them down the stairs ...

They have: 7 posts

Joined: Jan 2006

that error is from you editing your file and it having to include a file that is not there. It is giving you the absolute URL (the entire path), as opposed to a relative URL, which is why it looks strange.

Has it worked before? If not, then chances are there is something mis configured. If it has, then you simply forgot to download the file.

Matt Pegler
MyFreeCounter Owner/Operator
http://www.myfreecounter.net