i need urgent help Parse error

Reply

Join Date: Nov 2008
Posts: 4
Reputation: paddy_c is an unknown quantity at this point 
Solved Threads: 0
paddy_c paddy_c is offline Offline
Newbie Poster

i need urgent help Parse error

 
0
  #1
Nov 24th, 2008
ive been getting loads of errors on a script that im trying to install.. so far ive fixed a few of them but now im stuck here

Parse error: syntax error, unexpected T_RETURN in /home/wwwulti/public_html/network/install/index.php on line 668

http://www.daniweb.com/forums/attach...1&d=1227550169

looks like the same things guna happen on line 670

any help?
Last edited by paddy_c; Nov 24th, 2008 at 2:46 pm.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 1,382
Reputation: ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light 
Solved Threads: 217
Sponsor
ShawnCplus's Avatar
ShawnCplus ShawnCplus is offline Offline
Code Monkey

Re: i need urgent help Parse error

 
0
  #2
Nov 24th, 2008
In PHP if it says there is an unexpected T_<something> on a line the error is usually in the lines ABOVE that line, not ON the line so.
GCS d- s+ a-->? C++(++++) UL+++ P+>+++ L+++ E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 4
Reputation: paddy_c is an unknown quantity at this point 
Solved Threads: 0
paddy_c paddy_c is offline Offline
Newbie Poster

Re: i need urgent help Parse error

 
0
  #3
Nov 24th, 2008
hmm i see.. im new to php..... ive took a capture of a bigger piece of the script.. could you take a look and see whats causing this error?

http://www.daniweb.com/forums/attach...1&d=1227552452

i really need help here
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 4
Reputation: paddy_c is an unknown quantity at this point 
Solved Threads: 0
paddy_c paddy_c is offline Offline
Newbie Poster

Re: i need urgent help Parse error

 
0
  #4
Nov 24th, 2008
no help then
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 1,382
Reputation: ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light ShawnCplus is a glorious beacon of light 
Solved Threads: 217
Sponsor
ShawnCplus's Avatar
ShawnCplus ShawnCplus is offline Offline
Code Monkey

Re: i need urgent help Parse error

 
0
  #5
Nov 24th, 2008
You image attachment didn't work. Just copy and paste the code, there is no reason to use images
GCS d- s+ a-->? C++(++++) UL+++ P+>+++ L+++ E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 4
Reputation: paddy_c is an unknown quantity at this point 
Solved Threads: 0
paddy_c paddy_c is offline Offline
Newbie Poster

Re: i need urgent help Parse error

 
0
  #6
Nov 24th, 2008
ok heres the code..

  1. if ($info!="rwxrwxrwx")
  2. return false;
  3. else
  4. return true;
  5.  
  6. }//verify_folder_permissions
  7.  
  8. function clean_folder($folder,$total){
Last edited by peter_budo; Nov 24th, 2008 at 6:39 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 62
Reputation: PomonaGrange is an unknown quantity at this point 
Solved Threads: 3
PomonaGrange PomonaGrange is offline Offline
Junior Poster in Training

Re: i need urgent help Parse error

 
0
  #7
Nov 24th, 2008
Originally Posted by paddy_c View Post
ok heres the code..

  1. if ($info!="rwxrwxrwx")
  2. return false;
  3. else
  4. return true;
  5.  
  6. }//verify_folder_permissions
  7.  
  8. function clean_folder($folder,$total){
I Think this code is missing some brackets {}.
Try This
  1. if ($info!="rwxrwxrwx"){
  2. return false;
  3. }else{
  4. return true;
  5.  
  6. }//verify_folder_permissions
  7.  
  8. function clean_folder($folder,$total){
There are alot of people smarter than me, BUT at least I try to be of some help. Of coarse I'm not perfect, I need help too.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC