Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Problem With Registrer 
 
When a person is registrering, in the page:

Quote:
Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/todomods/public_html/includes/usercp_register.php on line 574

Warning: Cannot modify header information - headers already sent by (output started at /home/todomods/public_html/includes/usercp_register.php:574) in /home/todomods/public_html/includes/page_header.php on line 1398

Warning: Cannot modify header information - headers already sent by (output started at /home/todomods/public_html/includes/usercp_register.php:574) in /home/todomods/public_html/includes/page_header.php on line 1404

Warning: Cannot modify header information - headers already sent by (output started at /home/todomods/public_html/includes/usercp_register.php:574) in /home/todomods/public_html/includes/page_header.php on line 1405


what i doing for resolve this?

Thanks

Sorry for my bad english.

Page: www.pspfusion.es - IP: Ultimate versión.
 



 
DiegorkSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Problem With Registrer 
 
maybe is something in overall_header.tpl

maybe u puted code wrongly in that "¡Bienvenido Invitado!"
 




____________
We are the phpBBorg. Lower your Crackers. Your phpological and forumological distinctivness will be added to our own. Resistance if futile!
 
LimunSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Registrer 
 
I upload the original overall_header and the page said the same problem... i need help please.

Bye and thanks
 



 
DiegorkSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Registrer 
 
The problem persist, now appear this:

Quote:
[Icy Phoenix Debug] PHP Notice: in file /includes/usercp_register.php on line 559: htmlspecialchars() expects parameter 1 to be string, array given
[Icy Phoenix Debug] PHP Notice: in file /includes/page_header.php on line 1185: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2004)
[Icy Phoenix Debug] PHP Notice: in file /includes/page_header.php on line 1191: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2004)
[Icy Phoenix Debug] PHP Notice: in file /includes/page_header.php on line 1192: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2004)


What Can i Do to resolve this proble?

Thanks.
 



 
DiegorkSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Registrer 
 
Some questions :
- Did you install any mod ? ( list it )
- What is your version of Icy Phoenix ? ( Try to update to 1.3.0.53 .a RC2 if you aren't yet )

Try to upload original /includes/usercp_register.php  and /includes/page_header.php file for try and let's see.
 



 
YrosSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Registrer 
 
try to resend: "includes/usercp_register.php", and do modifications one by one
 



 
InformproSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Registrer 
 
My Icy Phoenix version is 1.3.0.53. I update to this new version one week ago and i don´t install any mod and i upload original files and the problem persist.



Thanks.
 



 
DiegorkSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Registrer 
 
Go on " Patch " section and update to the last version ( patch .a RC 2 ).
Don't forget to run install.php / database_update.php
 



 
YrosSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Registrer 
 
If I upgrade to the new version will lose the changes made to the template?

Thanks.
 



 
DiegorkSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Registrer 
 
Nop. It's only a patch, not really a new version. It's just was done for fix several troubles, bugs, and security issues. You won't lose something.
 



 
YrosSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Registrer 
 
I updated to Icy Phoenix 1.3.0.53a - Patch RC2 and the problem persist   ..... I need resolve this problem. Is there any way that the errors not appear in register?

Thanks.
 



 
DiegorkSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Registrer 
 
I see the problem.
Code: [Download] [Hide]
  1.              $temp = (isset($_POST[$name])) ? $_POST[$name] : array();  
  2.              if($type == CHECKBOX)  
  3.              {  
  4.                  $temp2 = '';  
  5.                  foreach($temp as $temp3)  
  6.                  {  
  7.                      $temp2 .= htmlspecialchars($temp3) . ',';  
  8.                  }  
  9.                  $temp2 = substr($temp2, 0, strlen($temp2) - 1);  
  10.  
  11.                  $temp = $temp2;  
  12.              }  
  13.              else  
  14.              {  
  15.                  $temp = is_numeric($temp) ? intval($temp) : htmlspecialchars($temp);  
  16.              }  
the problem happens because the input with the name "$name" don't exists (or is empty)
 



 
InformproSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Registrer 
 
So, How I resolved the problem??

Thanks
 



 
DiegorkSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Registrer 
 
replace "$temp = (isset($_POST[$name])) ? $_POST[$name] : array();" by "$temp = (isset($_POST[$name])) ? $_POST[$name] : '';"
 



 
InformproSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Problem With Registrer 
 
Perfect, now there are not any problem.

A lot of thanks.
 



 
DiegorkSend private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events