Page 1 of 1
Need help! Errors after changing PCP.

Posted:
Sun Apr 26, 2009 5:09 pm
Author: Lycanth
Hello. I really hope someone can help me.
Some of my members were having trouble seeing others avatars, so after doing a search here, I found a fix here:
http://www.integramod.com/forum/viewtop ... it=+avatarI followed the instructions to change it to display always...but as soon as i saved it, I could no longer access the PCp properly and my site is displaying this at the top of my site, and a few other errors, especially the avatars and details beside each post is now blank (can only see error if you're logged in)
- Code: Select all
Warning]: The first argument should be an array in /home1/nextinca/public_html/tmntrpg/profilcp/functions_profile.php on line 1031 Warning: array_filter() [function.array-filter]: The first argument should be an array in /home1/nextinca/public_html/tmntrpg/profilcp/functions_profile.php on line 1031 Warning: Cannot modify header information - headers already sent by (output started at /home1/nextinca/public_html/tmntrpg/profilcp/functions_profile.php:1031) in /home1/nextinca/public_html/tmntrpg/includes/page_header.php on line 1170 Warning: Cannot modify header information - headers already sent by (output started at /home1/nextinca/public_html/tmntrpg/profilcp/functions_profile.php:1031) in /home1/nextinca/public_html/tmntrpg/includes/page_header.php on line 1176 Warning: Cannot modify header information - headers already sent by (output started at /home1/nextinca/public_html/tmntrpg/profilcp/functions_profile.php:1031) in /home1/nextinca/public_html/tmntrpg/includes/page_header.php on line 1177
Could someone please help?
Re: Need help! Errors after changing PCP.

Posted:
Sun Apr 26, 2009 5:57 pm
Author: Helter
check all your chmods found here.
http://www.integramod.com/forum/web.php ... install_p1Im guessing your changes were written to the db, but not the cache files.
If your chmods are correct, reupload the root/profilcp folder and redo the chmods. This will reset your PCP to the default setup
Re: Need help! Errors after changing PCP.

Posted:
Mon Jun 22, 2009 11:49 pm
Author: River
I had the same problem - changed something in the PCP - and got :
Warning: array_keys() [function.array-keys]: The first argument should be an array in /homepages/7/d129542347/htdocs/KatanaZone4/profilcp/functions_profile.php on line 1031
Warning: array_filter() [function.array-filter]: The first argument should be an array in /homepages/7/d129542347/htdocs/KatanaZone4/profilcp/functions_profile.php on line 1031
Warning: Cannot modify header information - headers already sent by (output started at /homepages/7/d129542347/htdocs/KatanaZone4/profilcp/functions_profile.php:1031) in /homepages/7/d129542347/htdocs/KatanaZone4/includes/page_header.php on line 1159
Warning: Cannot modify header information - headers already sent by (output started at /homepages/7/d129542347/htdocs/KatanaZone4/profilcp/functions_profile.php:1031) in /homepages/7/d129542347/htdocs/KatanaZone4/includes/page_header.php on line 1161
Warning: Cannot modify header information - headers already sent by (output started at /homepages/7/d129542347/htdocs/KatanaZone4/profilcp/functions_profile.php:1031) in /homepages/7/d129542347/htdocs/KatanaZone4/includes/page_header.php on line 1162
Checked ALL CHMODS - some were goofy, and they were fixed. After releasing my browser cache - the site exploded (code was all over the screen...) - I deleted the folder and replaced it with the original "virgin" folder. Again, cleared my cache and it 'exploded' again. I removed THAT folder and replaced it with the backup I made before trying your suggestion and keep getting the above errors.
Re: Need help! Errors after changing PCP.

Posted:
Tue Jun 23, 2009 12:01 am
Author: River
Also am getting the following when trying to view the username listing:
Could not read user informations
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '* FROM ( ) WHERE .user_id <> -1 ORDER BY' at line
SELECT DISTINCT
.*
FROM (
)
WHERE .user_id <> -1
ORDER BY
Line : 920
File : profilcp_buddy.php
Re: Need help! Errors after changing PCP.

Posted:
Thu Jun 25, 2009 1:12 pm
Author: River
/// Bump \
Re: Need help! Errors after changing PCP.

Posted:
Thu Jun 25, 2009 5:11 pm
Author: Helter
youve given no information about what youve done to try to solve the error. 99% of the time errors such as that are cause by incorrect file permissions. Have you properly set your chmods?
Re: Need help! Errors after changing PCP.

Posted:
Sat Jun 27, 2009 11:23 am
Author: River
"HelterSkelter" wrote:youve given no information about what youve done to try to solve the error. 99% of the time errors such as that are cause by incorrect file permissions. Have you properly set your chmods?
Uhhhhhhhhhhhh...
Yes I have :
"River" wrote:Checked ALL CHMODS - some were goofy, and they were fixed. After releasing my browser cache - the site exploded (code was all over the screen...) - I deleted the folder and replaced it with the original "virgin" folder. Again, cleared my cache and it 'exploded' again. I removed THAT folder and replaced it with the backup I made before trying your suggestion and keep getting the above errors.
I was trying to fix something with the User Information - and now also, none of the avatars or user info show at all on each post. The username listings don't show either. If there is something in the SQL tables I can "reset", this might do the trick, no?
Re: Need help! Errors after changing PCP.

Posted:
Sat Jun 27, 2009 11:51 am
Author: River
Attached is what the screen looks like 1-Top 2-Bottom
Re: Need help! Errors after changing PCP.

Posted:
Sun Jun 28, 2009 12:43 am
Author: River
\\\\\\\\\
/// Bump ///
\\\\\\\\\
Re: Need help! Errors after changing PCP.

Posted:
Sun Jun 28, 2009 1:59 am
Author: Helter
sorry, still having FF issues and I only saw one post from you. If you want me to take a look, pm me your ftp info, but before you do, try changing back to the default Integra2 theme and deleting your style cache in acp/eXtreme styles
Re: Need help! Errors after changing PCP.

Posted:
Sun Jun 28, 2009 12:05 pm
Author: River
Hey, I never thought of that. (Derrrr...) I'll go do that and report my findings. Thanks.
UPDATE: Nope, still the same problems. Info you requested is in your PM...
Re: Need help! Errors after changing PCP.

Posted:
Mon Jun 29, 2009 11:34 am
Author: Helter
somehow your def_usermaps was written over by def_userfields. Seems ok now