Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Where does echo output go  (Read 1946 times)

0 Members and 1 Guest are viewing this topic.

grb

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Where does echo output go
« on: January 24, 2011, 06:32:47 pm »

Just a quick question. I was trying to debug a script. Where would I see the output of "echo" statements?

Thanks
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Where does echo output go
« Reply #1 on: January 24, 2011, 09:46:24 pm »

Please don't abuse the bugs board for your individual questions.

Moving to cpg1.5 misc board.

I don't know what you ask for, as you can see the output of the echo command in your browser.
Logged

grb

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Where does echo output go
« Reply #2 on: January 24, 2011, 09:56:09 pm »

Thanks, and sorry about posting in wrong place.

I was trying to print out a variable $filepath in picmgmt.inc.php. I could not see any output in browser, but will try looking for it again to search using CTRL_F (Firefox).  I am very new to php, but some simple scripts does show in browser as you rightly said. This is the first time, I tried printing within one of Coppermine scripts.

So I was wondering if coppermine somehow redirects all such output to a file?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Where does echo output go
« Reply #3 on: January 25, 2011, 09:23:50 am »

Try
Code: [Select]
return array('error' => $filepath, 'halt_upload' => 0);(not tested).
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 21 queries.