Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Installing 3.4 issues
Sickboy
Posted on 21 Jan 2010, 10:50:13

Access: Member
Total Posts: 13
Joined: 2009-12-04

Hi Chris,
Im having issues updating to version 3.4 of the news script.
Ive unzipped the files onto my webserver and ive tried running the install/index.php which takes me to the "Step 1 - Select Language" page with no issues apart from the following error code at the bottom of the page:

Code:
PHP Notice: Undefined index: step in D:\ITWhiteBoard\news\install\index.php on line 70 PHP Notice: Undefined index: step in D:\ITWhiteBoard\news\install\index.php on line 84 PHP Notice: Undefined index: step in D:\ITWhiteBoard\news\install\index.php on line 95 PHP Notice: Undefined index: step in D:\ITWhiteBoard\news\install\index.php on line 163 PHP Notice: Undefined index: step in D:\ITWhiteBoard\news\install\index.php on line 208 PHP Notice: Undefined index: step in D:\ITWhiteBoard\news\install\index.php on line 288 PHP Notice: Undefined variable: languages in D:\ITWhiteBoard\news\install\index.php on line 305 PHP Notice: Undefined variable: i in D:\ITWhiteBoard\news\install\index.php on line 311

Then when i click submit i get a dns error:

[img]http://www.atings.com/uploads/1264150828.png[/img]
I have full admin rights to the webserver so its not a permissions issue.

Any ideas mate?

Thanks,

Ant


Also FYI:
MySQL 4.1.13a
PHP 5.31
#1658
Sickboy
Posted on 21 Jan 2010, 14:12:55

Access: Member
Total Posts: 13
Joined: 2009-12-04

on a side not ive just tried to revert back to version 3.3 and i am getting the exact same issue. hmmmm very strange.

Edit: sorry i also want to add ive only been getting this issue since moving web servers last week and then trying to install the script from scratch again. the details of what the server has installed are stated above


thanks
#1660
Last edited by Sickboy at 2010-01-21 16:10:20 Reason:
Chris
Posted on 21 Jan 2010, 19:04:55

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Code:
PHP Notice: Undefined index:


These messages are nothing to worry about they are simply coding standard warnings, if you take a look at this thread, I've explained how to stop those from showing.

As for the installation not working properly, I think it might be an Apache/IIS configuration problem related to how it handles form submissions, if you look at the url in the screenshot you provided it shows this at the end of the url

Code:
http://itnewsboard/news/install/index.php?step=1


After you choose a language then hit next and it gives that error message, I think it might work if you then manually enter the above url into the address bar. I'm just guessing so that may or may not work. Worth giving it a try though.
#1663
Sickboy
Posted on 26 Jan 2010, 09:01:04

Access: Member
Total Posts: 13
Joined: 2009-12-04

hmmm still no luck mate :(
The direct link to page 1 didnt work

if i go to my index page where the script should be running im getting this line of code now:

Code:
Table 'itnewsboard.news30_options' doesn't existPHP Notice: Undefined index: cat in D:\ITWhiteBoard\Main_Page.php on line 99 PHP Warning: session_start(): Cannot send session cookie - headers already sent by (output started at D:\ITWhiteBoard\Main_Page.php:98) in D:\ITWhiteBoard\index.php on line 4 PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at D:\ITWhiteBoard\Main_Page.php:98) in D:\ITWhiteBoard\index.php on line 4 PHP Notice: Undefined variable: archives in D:\ITWhiteBoard\index.php on line 17 PHP Notice: Undefined index: REQUEST_URI in D:\ITWhiteBoard\index.php on line 23 PHP Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in D:\ITWhiteBoard\index.php on line 26

Ive done a bit of googling and it doesnt seem to be an IIS issue. Its so weird its not working now as it was on my other webserver and im running exactly the same stuff on this new one :s
Hope you can help mate as im out of ideas

Thanks again
#1737
Last edited by Sickboy at 2010-01-26 09:01:36 Reason:
Chris
Posted on 26 Jan 2010, 09:20:41

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Code:
Table 'itnewsboard.news30_options' doesn't exist


This shows that the system hasn't been installed

Code:
PHP Notice: Undefined index: cat in D:\ITWhiteBoard\Main_Page.php on line 99 


Just a notice not really important as these can be switched off

Code:
PHP Warning: session_start(): Cannot send session cookie - headers already sent by (output started at D:\ITWhiteBoard\Main_Page.php:98) in D:\ITWhiteBoard\index.php on line 4


This is only happening because of the previous errors, once they're sorted this won't show anymore

Code:
PHP Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in D:\ITWhiteBoard\index.php on line 26 


This one is puzzling me, in version 3.4, the system no longer uses the standard mysql functions which means it doesn't use the mysql_fetch_array function. So I'm not sure where this is coming from.

I still think the problem has to be a configuration problem in the server somewhere but what that is, I'm not sure :(

I'd suggest maybe reinstalling IIS and then try installing PHP as both an ISAPI module then if that doesn't work try installing it as a FastCGI.
#1738
Sickboy
Posted on 27 Jan 2010, 15:22:40

Access: Member
Total Posts: 13
Joined: 2009-12-04

Hi chris,
Thanks again for your help and really quick responses.

Ive managed to get everything working again on my test server with no issues but on the live server im still getting the following errors at the bottom of my webpage EVEN THOUGH the news script is working ???? very strange.

Code:
D:\ITWhiteBoard\Main_Page.php on line 99 PHP Warning: session_start(): Cannot send session cookie - headers already sent by (output started at D:\ITWhiteBoard\Main_Page.php:98) in D:\ITWhiteBoard\index.php on line 4 PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at D:\ITWhiteBoard\Main_Page.php:98) in D:\ITWhiteBoard\index.php on line 4 PHP Notice: Undefined variable: archives in D:\ITWhiteBoard\index.php on line 17 PHP Notice: Undefined index: REQUEST_URI in D:\ITWhiteBoard\index.php on line 23 PHP Notice: Undefined index: id in D:\ITWhiteBoard\index.php on line 43 PHP Notice: Undefined index: goto in D:\ITWhiteBoard\index.php on line 48 PHP Notice: Undefined index: 4 in D:\ITWhiteBoard\index.php on line 66 PHP Notice: Undefined index: name in D:\ITWhiteBoard\index.php on line 67 PHP Notice: Undefined variable: showstats in D:\ITWhiteBoard\index.php on line 71 PHP Notice: Undefined index: ajax in D:\ITWhiteBoard\index.php on line 88 PHP Notice: Undefined index: ajax in D:\ITWhiteBoard\index.php on line 210 PHP Notice: Undefined variable: static in D:\ITWhiteBoard\index.php on line 264 PHP Notice: Undefined variable: template in D:\ITWhiteBoard\index.php on line 278 PHP Notice: Undefined variable: author in D:\ITWhiteBoard\index.php on line 392 PHP Notice: Undefined variable: e in D:\ITWhiteBoard\index.php on line 422 PHP Notice: Undefined variable: e in D:\ITWhiteBoard\index.php on line 422 PHP Notice: Undefined variable: f in D:\ITWhiteBoard\index.php on line 433 PHP Notice: Undefined variable: author in D:\ITWhiteBoard\index.php on line 444 PHP Notice: Undefined variable: f in D:\ITWhiteBoard\index.php on line 463 PHP Notice: Undefined variable: u in D:\ITWhiteBoard\index.php on line 463 PHP Notice: Undefined variable: nppage in D:\ITWhiteBoard\index.php on line 469 PHP Notice: Undefined variable: cppage in D:\ITWhiteBoard\index.php on line 472 PHP Notice: Undefined index: page in D:\ITWhiteBoard\index.php on line 485 PHP Notice: Undefined variable: orderby in D:\ITWhiteBoard\index.php on line 494 PHP Notice: Undefined variable: newsorder in D:\ITWhiteBoard\index.php on line 516 PHP Notice: Undefined index: page in D:\ITWhiteBoard\index.php on line 538 PHP Notice: Undefined variable: f in D:\ITWhiteBoard\index.php on line 557 PHP Notice: Undefined variable: u in D:\ITWhiteBoard\index.php on line 557 PHP Notice: Undefined variable: pages in D:\ITWhiteBoard\index.php on line 730 PHP Notice: Undefined variable: allnews in D:\ITWhiteBoard\index.php on line 739 PHP Notice: Undefined index: ajax in D:\ITWhiteBoard\index.php on line 1221 PHP Notice: Undefined variable: static in D:\ITWhiteBoard\index.php on line 1222

Im running mysql 4 on the live server and mysql 5 on my test, do you think this has anything to do with it? will i need to upgrade to mysql 5 to get rid of these errors?

Thanks again mate
#1744
Sickboy
Posted on 27 Jan 2010, 15:45:12

Access: Member
Total Posts: 13
Joined: 2009-12-04

Sorry also just to add im getting errors on the admin.php page even though once again everything is working fine..... very strange. The errors are random so ive copied in the largest error found when i click on "Access levels".

Code:
PHP Notice: Undefined index: loggedin in D:\ITWhiteBoard\config.php on line 1092 PHP Notice: Undefined index: name in D:\ITWhiteBoard\modules\adminheaderdata.mod on line 53 PHP Notice: A session had already been started - ignoring session_start() in D:\ITWhiteBoard\langmsg.php on line 3 PHP Warning: htmlentities(): Invalid multibyte sequence in argument in D:\ITWhiteBoard\config.php on line 1102 PHP Warning: htmlentities(): Invalid multibyte sequence in argument in D:\ITWhiteBoard\config.php on line 1102 PHP Notice: Use of undefined constant options - assumed 'options' in D:\ITWhiteBoard\modules\admindata.mod on line 51 PHP Notice: Undefined index: accessoption in D:\ITWhiteBoard\modules\modaccess.mod on line 221 PHP Notice: Undefined index: do in D:\ITWhiteBoard\modules\modaccess.mod on line 253 PHP Notice: Undefined index: do in D:\ITWhiteBoard\modules\modaccess.mod on line 321 PHP Notice: Undefined variable: x in D:\ITWhiteBoard\modules\modaccess.mod on line 417 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 57 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 69 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 79 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 80 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 81 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 97 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 106 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 116 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 121 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 133 PHP Notice: Undefined variable: showoptions in D:\ITWhiteBoard\admin.php on line 133 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 137 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 141 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 145 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 149 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 153 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 157 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 161 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 165 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 169 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 173 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 177 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 181 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 199 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 225 PHP Notice: Use of undefined constant menu - assumed 'menu' in D:\ITWhiteBoard\admin.php on line 231


#1745
Chris
Posted on 27 Jan 2010, 17:46:26

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

These are just warnings. Edit your php.ini file, change error_reporting to

Code:
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED


restart the server and those notices should go away.
#1746
Sickboy
Posted on 28 Jan 2010, 08:53:42

Access: Member
Total Posts: 13
Joined: 2009-12-04

ah ok so they dont mean anything then? Weird how its reporting these errors now tho when they werent before hmmmm :s
#1747
Chris
Posted on 28 Jan 2010, 17:20:53

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

If they weren't there before then something on your server has changed, you my have reinstalled PHP or it has been edited to change how error_reporting works.
#1748
Network-13.com © 2013