Can view PHP files on my computer...
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...
Busy posted this at 21:38 — 19th January 2006.
He has: 6,151 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
MyFreeCounter posted this at 01:20 — 28th January 2006.
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
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.