PDA

View Full Version : Help in installing hack



Umair_Khan
12-25-2004, 03:15 PM
i m trying to install this hack but having lots of problems .. i think they are large in number.

well

i downloaded the .zip file and then i extract it .. i upload and replace

fpw.php
user.php
and i modify code of signup.php as it was not included in .zip
now i have Register.php. what to do with this file :( do i have to replace it with IPB register.php :s if yes then the problem is its size is 44k and orignal file size is 55k therefore i want to ask you before replacin this file and i have installed ipb in forum folder but it says forums do i have to change the name also


now problem with move_IBF_member.zip
i downloaded this .zip uploaded the file but now what .. :s
i run this file but it is giving some error sql errors ..
how to use this one ..

sorry .. i m stupid ... but neeed little help :s

Umair_Khan
12-25-2004, 04:01 PM
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home2/fisttheo/public_html/move_IBF_members.php on line 13

i m getting ^ this error when i try to run move_IBF_members.php

and one more thing i want to tell you ..

i m using e107

and IPB 2.0.0

Umair_Khan
12-25-2004, 04:11 PM
ok ... ok ... :angry:

now i think i m doing some kind of mistake .. i m sick writing all these posts on more than 100 forums .. damn ..

sorry .. i think it was great work but i havn't sleep from last few nights ... just sitting and lookin at my com screen .. i think i have installed some wrong hack .. or don't know..


i need some rest .. i will post again if i need help or i able to fix it my self ..

Patrick
12-25-2004, 04:36 PM
Its sounds to me like you installed an old hack of ours. Undo all the modifications you have done, visit http://www.ep-dev.com/scripts-8.php , and install that hack according to its instructions.

Umair_Khan
12-25-2004, 04:53 PM
hmmm :huh:

well part 1 is complete but having problem in part 2

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home2/fisttheo/public_html/CMS_Forum_Hack/classes/mysql.php on line 60

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home2/fisttheo/public_html/CMS_Forum_Hack/classes/mysql.php on line 60
EP-Dev.com CMS Forum Members Hack :: Forum Hack :: STEP 1

Forum hack is not installing :(

Patrick
12-25-2004, 08:11 PM
1. Ensure that you selected the correct CMS during setup.
2. Ensure that you selected the correct forum during setup.

Umair_Khan
12-26-2004, 01:02 AM
ok now it is installed .. one more problem i m facing when i login on my site it redirects me to Forum index.php .. and opnes the forum and not on site
:(

it is not installing the merge section of hack ...

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home2/fisttheo/public_html/CMS_Forum_Hack/classes/mysql.php on line 60 gives this error ..

but don't stop installation ..

every thing else is working but only merge section of installation is not working

well i was thinking is your hack use any other file from Forum folder. for mysql database or any thing coz i was facing problem with names (first letter is capital as i mentioned in begining ) if yes then tell me the file name or any other solution

Umair_Khan
12-26-2004, 12:02 PM
ok one last request can you tell me the manuall way to do this installation not using this installation pakage ..


thanks

Patrick
12-26-2004, 06:35 PM
The install package works fine. Any errors that are occuring are due to:
1. Incorrect MySQL information
2. Improper CMS / Forum versions

Without the install package, this hack is quite complicated. Several search & replace steps are done, which can be found within the classes folder in the respective php file (under install within the file) of your forum / cms.

The final part of the install includes removal of all of your CMS members (with exception to admin CMS members if using e107) and then the addition of all of your forum members into your CMS member database.

I suppose it is possible to perform all of that manually, but the time it takes to type out the instructions is just not worth it when I know that the install works fine with the proper setup. If the setup is different, then the hack will not work even if done manually.

ego-ist
12-31-2004, 03:03 AM
Im realy need your helf with this, plz check pm or contact me....

thx ego

Black Prowler
01-11-2005, 02:14 AM
I'm having simular problems with installation. After I got passed the cacheing page I got the following error:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/panther/public_html/e107/CMS_Forum_Hack/classes/mysql.php on line 60


Then it told me to chmod the login.php, register.php & usercp.php. I did all that and still I couldn't proceed(and the above error was still listed on top of the screen.) I closed out the install page and figured I'd try later on.

When I brought the install page back up it said the installation was complete but the same error remained at the top of the page.

I tested my cms but none of my ipb user id's have transferred over. my admin id is the only one that works...but that was one I used to install the e107cms.

Could you tell me what is wrong and what to do to fix this?

I'm rnning IPB 2.0.3

Also using current version of your script.

The hack install did not have an option for that-just for ipb 1.3.

Please help. B)

Patrick
01-11-2005, 04:19 PM
Usually this happens when:
1. Your DB info is incorrect
2. Your database has been modified (for example, different version).


The problem is that I didn't add in proper error reporting. You can add in some simple debugging though. In the classes folder open up mysql.php.

Find $this->result = mysql_query($query, $this->cn);

Replace with
echo "DB: " . $query . "<br>";
$this->result = mysql_query($query, $this->cn);


That should put any queries out onto the page and you should be able to see what is going on.

Black Prowler
01-12-2005, 02:52 AM
ok I'll try that..thanx! B)




update:
ok I did that and tried to reinstall. This is what I get. It doesn't come up as an error but it could be..idonknow.

DB: SELECT e107_value FROM e107_core WHERE e107_name='pref'


I still can not proceed past step 1. :blink:

Patrick
01-12-2005, 05:07 PM
Based on DB: SELECT e107_value FROM e107_core WHERE e107_name='pref'

I am assuming that your prefix is e107_ ? If not, correct it.

You could try opening up phpMyAdmin and seeing if that table and row exists. (If you have no idea what I am talking about then nevermind)

If you do not know what I am referring to you can PM me your database information (including phpMyAdmin link) or database information and ftp details and I can take a look to see what is wrong.

Black Prowler
01-14-2005, 02:07 AM
my prefix is e107_

I checked my database(both my forums and the e107 one and the table above does not exist in either.)

I'm not an expert on databases but I do know how to access phpadmin and look at them. I can tell what things are by reading the title and or discription.

So since there is no table in the db what do I need to do? :unsure:

Patrick
01-14-2005, 05:05 PM
All of your other e107_ tables are there, but e107_core is not?

Black Prowler
01-22-2005, 08:11 PM
uuh...no....none of the e107 tables exist.

Patrick
01-23-2005, 09:56 AM
Then you do not have e107 installed on that database or it is installed with a different prefix than e107_

You need to correct your database details in the script.