Re: Cannot instantiate non-existent class
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Tue, 28 Feb 2006 17:09:32 -0500
julian_m wrote:
kay wrote:
try first with the most simple - try including a file that is placed in
the same directory as the script
That's what I tried hundred times...
forget about classes etc. if u cant
include it - contact your ISP and ask them what to do :-)
They said:
'access to your file with absolute path:
"www.yoursite.com/your_file.php" '
It's really strange isnt it?
sdos - jm
Julian,
The problem is - when you access it through http, all you get is the HTML (if any) generated by the script. This is how it should be - otherwise anyone would be able to access your source code!
IIWY I would go back to the host and get a better answer. If you can't get a better answer than that, change hosts!
include('inc.php') is a very basic statement, and used *very* heavily in PHP. If it doesn't work on your host, and they can't fix it, its time to get a new host!
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- Follow-Ups:
- Re: Cannot instantiate non-existent class
- From: julian_m
- Re: Cannot instantiate non-existent class
- References:
- Cannot instantiate non-existent class
- From: julian_m
- Re: Cannot instantiate non-existent class
- From: Iván Sánchez Ortega
- Re: Cannot instantiate non-existent class
- From: julian_m
- Re: Cannot instantiate non-existent class
- From: kay
- Re: Cannot instantiate non-existent class
- From: julian_m
- Cannot instantiate non-existent class
- Prev by Date: Include path issues
- Next by Date: Re: file which tries to find itself and can't...
- Previous by thread: Re: Cannot instantiate non-existent class
- Next by thread: Re: Cannot instantiate non-existent class
- Index(es):
Relevant Pages
|