Need help! Errors after changing PCP.

Support for IntegraMOD 141

Moderator: Integra Moderator

Need help! Errors after changing PCP.

PostAuthor: Lycanth » Sun Apr 26, 2009 5:09 pm

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=+avatar

I 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?

Lycanth
Members
Members
 
Posts: 65
Likes: 0 post
Liked in: 0 post
Joined: Mon Nov 12, 2007 6:20 pm
Cash on hand: 0.00
Location: Australia

Re: Need help! Errors after changing PCP.

PostAuthor: Helter » Sun Apr 26, 2009 5:57 pm

check all your chmods found here.

http://www.integramod.com/forum/web.php ... install_p1

Im 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
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Need help! Errors after changing PCP.

PostAuthor: River » Mon Jun 22, 2009 11:49 pm

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.
[url=http][img=left]http://img.userbarz.com/50/9902.gif[/img][/url]
[url=http][img=left]http://img.userbarz.com/87/17365.gif[/img][/url]
[url=http][img=left]http://img.userbarz.com/85/16932.png[/img][/url]
User avatar
River
Members
Members
 
Posts: 40
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 16, 2008 8:33 pm
Cash on hand: 0.00

Re: Need help! Errors after changing PCP.

PostAuthor: River » Tue Jun 23, 2009 12:01 am

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
[url=http][img=left]http://img.userbarz.com/50/9902.gif[/img][/url]
[url=http][img=left]http://img.userbarz.com/87/17365.gif[/img][/url]
[url=http][img=left]http://img.userbarz.com/85/16932.png[/img][/url]
User avatar
River
Members
Members
 
Posts: 40
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 16, 2008 8:33 pm
Cash on hand: 0.00

Re: Need help! Errors after changing PCP.

PostAuthor: River » Thu Jun 25, 2009 1:12 pm

/// Bump \
[url=http][img=left]http://img.userbarz.com/50/9902.gif[/img][/url]
[url=http][img=left]http://img.userbarz.com/87/17365.gif[/img][/url]
[url=http][img=left]http://img.userbarz.com/85/16932.png[/img][/url]
User avatar
River
Members
Members
 
Posts: 40
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 16, 2008 8:33 pm
Cash on hand: 0.00

Re: Need help! Errors after changing PCP.

PostAuthor: Helter » Thu Jun 25, 2009 5:11 pm

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?
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Need help! Errors after changing PCP.

PostAuthor: River » Sat Jun 27, 2009 11:23 am

"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?
[url=http][img=left]http://img.userbarz.com/50/9902.gif[/img][/url]
[url=http][img=left]http://img.userbarz.com/87/17365.gif[/img][/url]
[url=http][img=left]http://img.userbarz.com/85/16932.png[/img][/url]
User avatar
River
Members
Members
 
Posts: 40
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 16, 2008 8:33 pm
Cash on hand: 0.00

Re: Need help! Errors after changing PCP.

PostAuthor: River » Sat Jun 27, 2009 11:51 am

Attached is what the screen looks like 1-Top 2-Bottom
[url=http][img=left]http://img.userbarz.com/50/9902.gif[/img][/url]
[url=http][img=left]http://img.userbarz.com/87/17365.gif[/img][/url]
[url=http][img=left]http://img.userbarz.com/85/16932.png[/img][/url]
User avatar
River
Members
Members
 
Posts: 40
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 16, 2008 8:33 pm
Cash on hand: 0.00

Re: Need help! Errors after changing PCP.

PostAuthor: River » Sun Jun 28, 2009 12:43 am

\\\\\\\\\
/// Bump ///
\\\\\\\\\
[url=http][img=left]http://img.userbarz.com/50/9902.gif[/img][/url]
[url=http][img=left]http://img.userbarz.com/87/17365.gif[/img][/url]
[url=http][img=left]http://img.userbarz.com/85/16932.png[/img][/url]
User avatar
River
Members
Members
 
Posts: 40
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 16, 2008 8:33 pm
Cash on hand: 0.00

Re: Need help! Errors after changing PCP.

PostAuthor: Helter » Sun Jun 28, 2009 1:59 am

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
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Need help! Errors after changing PCP.

PostAuthor: River » Sun Jun 28, 2009 12:05 pm

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...
[url=http][img=left]http://img.userbarz.com/50/9902.gif[/img][/url]
[url=http][img=left]http://img.userbarz.com/87/17365.gif[/img][/url]
[url=http][img=left]http://img.userbarz.com/85/16932.png[/img][/url]
User avatar
River
Members
Members
 
Posts: 40
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 16, 2008 8:33 pm
Cash on hand: 0.00

Re: Need help! Errors after changing PCP.

PostAuthor: Helter » Mon Jun 29, 2009 11:34 am

somehow your def_usermaps was written over by def_userfields. Seems ok now
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]