I have my site working on php includes and I created a page that has cutenews embeded on it and it works fine on there but it shows the error message.
eg.ERROR! page not found!

I have my site working on php includes and I created a page that has cutenews embeded on it and it works fine on there but it shows the error message.
eg.ERROR! page not found!
Try echoing out where you're looking for it.
change; include to echo.
You're probably looking in the wrong directory for it.
XHTML, CSS, AJAX, JS, php, MySQL.
--
HxF moderators can't read timestamps.
Ok sorry i forgot to mention I don't know PHP so make it easier
Where is "Error: not found" generated in? Unless it's a PHP error, in which case it'll be "line XX in file.php", if so, paste that segment of the file please.
(removing any sensitive data if required)
XHTML, CSS, AJAX, JS, php, MySQL.
--
HxF moderators can't read timestamps.
heres the whats inside the document where when viewed in index.php?page=title.php
Yes not all tags are there because they arn't really needed.Code:<html> Computer tutorials are posted here, they may be text, images or photos. If you need help and want to request a tutorial use the contact us form on the contact page! <?PHP $category=2; include("/home/zipped/public_html/site/backend/show_news.php"); ?> </html>
Is..
the line that's giving you the file not found error? If so, check it exists at that ^ location.PHP Code:include("/home/zipped/public_html/site/backend/show_news.php");
Also I hate using absolute directories (unfortunately sometimes required), try using a relative path.
Last edited by Heinous; 02-09-2009 at 11:44 AM.
XHTML, CSS, AJAX, JS, php, MySQL.
--
HxF moderators can't read timestamps.
http://zippedfiles.co.cc/site/index....e=tutorials_pc
Username: zipped
password: jack123
Cutenews works, and doesn't look like a cutenews error?
XHTML, CSS, AJAX, JS, php, MySQL.
--
HxF moderators can't read timestamps.
I Know, it has to do with the site... any ideas..?
Oh and incase you know, why when index.php is visited is it blank and not showing home.php?
Either PM me or post the PHP code for index.php, and I'll have a look at both.
XHTML, CSS, AJAX, JS, php, MySQL.
--
HxF moderators can't read timestamps.
Want to hide these adverts? Register an account for free!