Problems... On my last nerve

Status
Not open for further replies.

xvily

New Member
Messages
11
Reaction score
0
Points
0
First off credentials:

cPanel username: kiilypan
domain: paperhearts.co.cc
forum script: phpbb3


Problems:

1) Automatic Upgrade (FTP) in phpBB3 results in blank pages everywhere. It makes phpbb3 unstable, beyond repair. Literally. I am almost sure this has something to do with the PHP restrictions, and if this isn't a reason enough to be escalated to PHP v3 then I'm not sure what else to do here. You can't see the forum right now because I deleted the database in hopes of uploading the backup. See #2

2) I can't import database (.sql files) from phpmyadmin. It either tells me the database already exists (which is bogus really because even if it exists, there's nothing in it). If I delete the database and then I try to import the sql backup then it tells me my cpanel username does not have permission to create database. What the hell?

SQL query:
--
-- Database: `kiilypan_forum`
--
CREATE DATABASE `kiilypan_forum3` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;


MySQL said:
#1044 - Access denied for user 'kiilypan'@'localhost' to database 'kiilypan_forum3'
 
Last edited:

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
1) Are there any blacklisted function errors in the error log found in cPanel?
2) Edit the sql file and get rid of the CREATE DATABASE line.
 

xvily

New Member
Messages
11
Reaction score
0
Points
0
1) this is the blacklisted function in the error log: posix_getgroups()

2) thanks. i'll be fixing that soon.
Edit:
Bump.
 
Last edited:

xvily

New Member
Messages
11
Reaction score
0
Points
0
[Sun Nov 16 15:44:26 2008] [error] [client XX.XXX.XXX.X] ALERT - function within blacklist called: posix_getgroups() (attacker 'XX.XXX.XXX.X', file '/home/kiilypan/public_html/forum/includes/functions.php', line 530), referer: http://paperhearts.co.cc/
BTW, the X's was my IP address.

Now when I try to access my account from (x10hosting.com/account) I get this:
An Error Has Occurred
Although you've logged in successfully, there was an error retrieving your account's hosting type from the backend system.

Please post on our forums to seek support on this issue.
 
Last edited:

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Try commenting line 530 out of /home/kiilypan/public_html/forum/includes/functions.php and try again.
 

xvily

New Member
Messages
11
Reaction score
0
Points
0
That works, but I don't think you can guarantee that everything else will function correctly.

Why can't posix_getgroups() just be whitelisted?

And I'm still getting this error:

An Error Has Occurred
Although you've logged in successfully, there was an error retrieving your account's hosting type from the backend system.

Please post on our forums to seek support on this issue.
 
Last edited:

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
Post line 350 of /home/kiilypan/public_html/forum/includes/functions.php
 
Last edited:

xvily

New Member
Messages
11
Reaction score
0
Points
0
Line 530:
//$php_gids = (function_exists('posix_getgroups')) ? @posix_getgroups() : false;
I have commented it out, the index page works, and it appears everything works but I commenting it out would create problems in the future.. say like upgrading the script?
 
Last edited:

xvily

New Member
Messages
11
Reaction score
0
Points
0
Yeah it works. Do you have a feeling that it might interfere with future upgrades?
 

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
Nope. Right after that there is code that handles what to do if the check comes back as false.
 

xvily

New Member
Messages
11
Reaction score
0
Points
0
Okay, now I can't access my Account Panel from x10hosting.com/account. I heard there's a problem with the lotus server
Edit:
Bump =]
 
Last edited:
Status
Not open for further replies.
Top