PDA

View Full Version : I Found Errors



jackdelamare
05-15-2007, 01:44 PM
Hi, sorry for my last help topic, I was new to PHP and all the script.

I have now found out that on the "Script" page in my Forum-News admin place, there is no Absolute Path. I put one in: /home/delamare/public_html/Forum-News/ and then an error on the page came up: Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/delamare/public_html/Forum-News/admin/fileio.php on line 54
ERROR -- ERROR: Could not open or write to file the new settings. Check file permissions section of trouble shooting.
ERROR: Could not open or write to file the new settings. Check file permissions section of trouble shooting.

So that didnt work. I took it out and now www.delamarepro.com/Forum-News/test.php is blank with an error message: Fatal error: Class 'EP_Dev_Forum_News' not found in /home/delamare/public_html/Forum-News/test.php on line 2.

Also, when I downloaded "news.php", which is apparently what news is from (that page is in the code) it was blank. There was NOTHING on that page, no codes or anything.

I think my whole Ep-Dev Forum-News is mucking up now :(.

Patrick
05-15-2007, 01:56 PM
From the error that you posted:



ERROR -- ERROR: Could not open or write to file the new settings. Check file permissions section of trouble shooting.
ERROR: Could not open or write to file the new settings. Check file permissions section of trouble shooting.

So either:
1) You have renamed or messed with news.php manually. This is a very stupid thing to do.
2) You do not have proper permissions on the config/config.php, config/template.php, or news.php.

I would recommend deleting the entire script, upload a fresh untainted version of the script, and proceed according to the instructions on the administration panel.

When you download a php file from a web browser you will ALWAYS get a blank page if the PHP page does not explicitly output to the browser. PHP is interpreted on the server and will not be output to the browser (only html/text that php provides to the browser will be viewable in your page source from the browser perspective). This is the nature of all PHP scripts. A PHP script is a dynamic program and it does not behave like an HTML page (it utilizes HTML rather).

My recommendation at the moment is that you either go and learn basic web authoring (including how a PHP script works) or you pay someone to install the script.

jackdelamare
05-15-2007, 02:02 PM
I just looked at your reply, thanks for all the help.

I did already upload the whole thing again and i made a page with the code in and uploaded it www.delamarepro.com/forum-news/latestnews.php.

So now, I am just editing the colours and stuff, thanks man.

Sorry for all the trouble

EDIT: Finished, coded and coloured. This rocks, thanks for such an awesome script and thanks for all the help. The new De La Mare website up soon.

www.delamarepro.com
See the script: www.delamarepro.com/forum-news/latestnews.php

Patrick
05-15-2007, 06:51 PM
Also, your website is not accessible from browsers other than IE (I presume it is accessible in IE, I really do not know). None of the buttons work, for example, in Firefox or Opera.

You are effectively shutting out 10-15% of the market, and an even higher amount if your website is in the least bit computer oriented.

IE is not always an option (me, for example, using Linux) and most individuals who are technically oriented tend to gravitate towards Opera or Firefox anyway because of the lack of features and security of Internet Explorer.

jackdelamare
05-16-2007, 08:34 AM
I know about that and on the new site that I am making, I have actually got rid of all buttons like that that are made in frontpage, hoping to get more views.

Thanks for helping though ;)

You using Linux!? Lol cool send me a print screen?

Anyway, thanks man!

jackdelamare
05-20-2007, 04:49 PM
May I just ask, what template this guy is using? http://www.knoxskorner.com/home.php

and also what is the template with the white box around the text. Sorry for asking but I dont have much time to experiment and since you designed the program?

Patrick
05-20-2007, 07:02 PM
I have no idea. He is using whatever template code he made for himself.

I am closing this thread.