PDA

View Full Version : In desperate need of help!!


Dceraso
10-22-2001, 04:48 PM
If you could help, it would be so very much appreciated.

What happened was, I tried to install the hack where you can change your name via the User CP. It says:

Fields To add to control pannel
---------------------------------
The first thing you got to do is run these two sql queries which will create variables for use, either via phpMyAdmin

INSERT INTO setting (settingid, settinggroupid, title, varname, value, description, optioncode, displayorder) VALUES ('', '6', 'Posts to change username', 'postuserchange', '50', 'Number of posts required for the user to change their own username within the user control panel. If you wish anyone to be able to change username set to 0.', '', '18')

INSERT INTO setting (settingid, settinggroupid, title, varname, value, description, optioncode, displayorder) VALUES ('', '6', 'Days between user change', 'dayuserchange', '7', 'Number of days between each time a user is allowed to change their nickname. If you wish the user to be able to change username at any time set to 0.', '', '19')

OR

go to www.yourdomain.com/forums/admin/setting.php?action=add
Setting Category: User and registration options
Title: Posts to change username
Variable Name: postuserchange
Value: 50
Description: Number of posts required for the user to change their own username within the user control panel. If you wish anyone to be able to change username set to 0.
Code to generate option: LEAVE THIS BLANK
Display Order: 18

Setting Category: User and registration options
Title: Days between user change
Variable Name: dayuserchange
Value: 7
Description: Number of days between each time a user is allowed to change their nickname. If you wish the user to be able to change username at any time set to 0.
Code to generate option: LEAVE THIS BLANK
Display Order: 18

I didn't do the first one, cause i didnt know what to do w/ it, But i did do the second one, and now i can go to my board. but i dont see no post or i dont even see no threads until i click the link.

and when i try to access my Admin center. It gives me the following errors.

Parse error: parse error, expecting `T_VARIABLE' or `'$'' in /home/ashleigh/public_html/forum/admin/global.php(79) : eval()'d code on line 170

Warning: Cannot add header information - headers already sent by (output started at /home/ashleigh/public_html/forum/admin/global.php(79) : eval()'d code:170) in /home/ashleigh/public_html/forum/admin/functions.php on line 1459

What should i do?

Help is very appreciatied.

Freddie Bingham
10-22-2001, 04:55 PM
Moved to the code hacking forum as we do not support forums running modified source code.

Dceraso
10-22-2001, 07:09 PM
anybody please?

Dceraso
10-22-2001, 10:58 PM
????

Dceraso
10-22-2001, 11:53 PM
Parse error: parse error, expecting `T_VARIABLE' or `'$'' in /home/ashleigh/public_html/forum/global.php(103) : eval()'d code on line 170

Warning: Cannot add header information - headers already sent by (output started at /home/ashleigh/public_html/forum/global.php(103) : eval()'d code:170) in /home/ashleigh/public_html/forum/admin/functions.php on line 1459

Warning: Cannot add header information - headers already sent by (output started at /home/ashleigh/public_html/forum/global.php(103) : eval()'d code:170) in /home/ashleigh/public_html/forum/admin/functions.php on line 1459

thats what it is giving me...

anybody know

almighty one
10-23-2001, 02:36 AM
just overwrite the files you hacked with original files and ya will be fixed as to adding this hack i got no clue i always hear of make sure there is no white space at the end of the <php?

JamesUS
10-23-2001, 08:49 AM
Could you please enter your license information into your profile? Thanks :)

Writers Blockk
10-24-2001, 06:29 AM
This is Dceraso's cousin. I tried to reupload all the php files and we still get the same errors and still will not let us in the admin center. Everyone we asked, told us that this was not possible to fix and would have to reinstall the board :(. I really hope this is fixable. If not is it possible to download the members if not posts as well to my computer? I don't really wanna have around 700 members reregister.

Any help would be much apreciated.

*Smacks you for messing the board up*

lol.

Writers Blockk
10-24-2001, 09:13 AM
It now says the following:

Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/ashleigh/public_html/forum/admin/db_mysql.php on line 40

There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Can this be fixed?

JamesUS
10-24-2001, 10:18 AM
That usually means your MySQL server is down...it's most likely just a temporary problem that will be fixed automatically (or your host will fix it).

Writers Blockk
10-24-2001, 10:19 AM
Ok good..what about the other stuff such as the errors that I even replaced with the php files but still stays the same. Will that fix as well?

It also doesn't let us int he admin center.

Writers Blockk
10-24-2001, 11:28 PM
I don't think they are fixing it lol.

I'll just reinstall the board, but is it possible to save my members nad posts onto my computer then add them when I reinstall the board? Please say yes, I don't wanna lose about 700 members.

Thanks

Writers Blockk
10-26-2001, 06:01 PM
up

webhost
10-26-2001, 09:17 PM
I offered to help u guys couple of days ago, if you still want help pm me.