WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-08-2005, 09:02 AM
WebProWorld Pro
 

Join Date: Jan 2005
Posts: 139
MattE RepRank 1
Default PHP problem - need help

This page http://www.licefreenaturally.com/ord...rderonline.php

has suddenly started presenting PHP errors - I am only doing some content rework for this client, but this page has started playing up with the only changes being made to the prices of the products. I have tried copying back the original file to no avail...


Need help!
Reply With Quote
  #2 (permalink)  
Old 05-08-2005, 01:24 PM
mushroom's Avatar
WebProWorld Veteran
 

Join Date: Feb 2004
Location: Queen Charlotte B. C. Canada
Posts: 351
mushroom RepRank 0
Default

You a seem to have 2 problems to fix
Quote:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/licefree/public_html/ordering/online/individual/orderonline.php:2) in /home/licefree/public_html/ordering/online/individual/orderonline.php on line 40
You are sending page content before sending cookie info a no-no
and
Quote:
Warning: mysql_result(): Unable to jump to row 0 on MySQL result index 7 in /home/licefree/public_html/ordering/online/individual/orderonline.php on line 61
There is a problem with the query or the table is empty.
__________________
Irony: That for most people the most "trusted" web site on the planet is for a company the has been convicted of criminal activity.

Both Security and SuSe start with "S". www.oldslides.com
Reply With Quote
  #3 (permalink)  
Old 05-08-2005, 08:09 PM
WebProWorld Pro
 

Join Date: Jan 2005
Posts: 139
MattE RepRank 1
Default

yes, but I'm a non-programmer - I did not set this up so would not know where to start in fixing it...

can someone guide me ?
Reply With Quote
  #4 (permalink)  
Old 05-08-2005, 10:56 PM
mushroom's Avatar
WebProWorld Veteran
 

Join Date: Feb 2004
Location: Queen Charlotte B. C. Canada
Posts: 351
mushroom RepRank 0
Default

The files "orderonline.php" and "authorised.php" are not viewable on the internet, only the output from the file can be seen. The error may or may-not be in that file, just that it shows up there. Post it here, say lines 40 to 80 and 1 to 20 or e-mail the files to me.
__________________
Irony: That for most people the most "trusted" web site on the planet is for a company the has been convicted of criminal activity.

Both Security and SuSe start with "S". www.oldslides.com
Reply With Quote
  #5 (permalink)  
Old 05-09-2005, 11:26 AM
mushroom's Avatar
WebProWorld Veteran
 

Join Date: Feb 2004
Location: Queen Charlotte B. C. Canada
Posts: 351
mushroom RepRank 0
Default

That page was never suppose to be accessed directly, but after the customer entered their name, etc, that page seems to be bypassed.

It looks like there is a file missing from the site "Return to Online Ordering Home"
http://www.licefreenaturally.com/ord...dual/index.php

Also you may have been the victim of a server up-grade

A change in security for apache/php results in many older scripts that no longer work properly.
Regesterglobals has been turned off which changes the way sessons must be handled.
The site may require a complete rewrite.

"MattE" are you picking your mail up from hotmail ?
__________________
Irony: That for most people the most "trusted" web site on the planet is for a company the has been convicted of criminal activity.

Both Security and SuSe start with "S". www.oldslides.com
Reply With Quote
  #6 (permalink)  
Old 05-09-2005, 08:44 PM
WebProWorld New Member
 

Join Date: Jul 2004
Posts: 18
vark RepRank 0
Default

Hi MattE,
has this issue been resolved? If I could look at the code I could give you my opinion. PM me if interested.

regards,
vark
__________________
Web Design & Development, E-Commerce, Hosting & Consulting at www.thegilmancompany.com
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0