Upgrade Question fo...
 
Notifications
Clear all

Upgrade Question for Clarity - Newbie

27 Posts
5 Users
0 Reactions
8,525 Views
(@guest2326)
Posts: 0
 

Upgrade Questions:

Hello,
I have some questions regarding the upgrade.

Basic information: I am not personally familiar with installing/upgrading the software, as I am a new Admin at the site in question.

We are running version 1.1 of efiction and would like to upgrade, but myself and the person who handles the technical stuff aren’t versed enough in some of the requirements; therefore, I’m asking for the most basic instructions possible, as we already had one completely failed attempt.

My understanding of the upgrade is thus: (I’m seeking confirmation or denial of my understanding)
• The first step is to change the config.php CHMOD to 666 that is already on the server.
• The second step is to upload/overwrite ALL files in the public_html directory. (though having a backup version is essential to restore everything.)
• Second step is to run the UPGRADE11.php link in the install folder?

This is saying that the upgrade should begin, right? Keep in mind I know nothing about MySQL or anything to do with the cpanel. My familiarity at websites ends with my personal site, which is a basic html and some CSS coding. The database and server things are a foreign language, as such.

--This is as far as we got last time, as the database files ended up deleted, and we’re wondering how to proceed. We don’t want to run the upgrade again without a clear picture of how we should continue.

Also, is anyone aware if creating a complete copy of the public_html files and placing them in a temp folder will allow us the opportunity to test without losing the actual site again? The big question would be is it easier to download everything on the server via FTP (all of the 1.1 files) then attempt the upgrade. If we fail at it, we can just re-upload all of the old files and as long as the database remains intact, there should be no problems, correct? Which would be easier – creating a temp files on the server or downloading everything exactly as it is since the site is locked down and then proceeding to upgrade? We have to restore via our host if something happens since we aren’t familiar with the requirements to getting things back to “normal”.

I saw one message on the boards that said NOT to overwrite the config.php that is currently housed on the ftp; is this correct?

What is the easiest upgrade method? The manual or automatic?

Any and all feedback would be greatly appreciated on this matter. This will help both of us learn for future reference, and we have two site to upgrade from the 1.1, so any help is very much appreciated.

Thank you
WeasleyWench

My apologies in advance if this is rehashing the same old questions, but I'm afraid that reading the other posts really wasn't very helpful as we weren't getting errors - we just don't understand the upgrading process as such.


 
Posted : 17/06/2008 4:49 am
(@tammy)
Posts: 2577
Member Moderator
 

My understanding of the upgrade is thus: (I’m seeking confirmation or denial of my understanding)
•  The first step is to change the config.php CHMOD to 666 that is already on the server.
•  The second step is to upload/overwrite ALL files in the public_html directory. (though having a backup version is essential to restore everything.)
•  Second step is to run the UPGRADE11.php link in the install folder?

Correct.  If you just go to the index page the script should detect that you're upgrading from 1.1 and begin the upgrade for you.

In addition to backing up your files, you should also back up your database.

I saw one message on the boards that said NOT to overwrite the config.php that is currently housed on the ftp; is this correct?

Correct.  The upgrade script needs the old config.php to get the information about your site settings. This is also how the script detects that you're running 1.1 and knows which upgrade to apply.

Also, is anyone aware if creating a complete copy of the public_html files and placing them in a temp folder will allow us the opportunity to test without losing the actual site again?

My suggestion would be to do this.  You'll also want to create a copy of your database then edit the dbconfig.php file for this temp site to point to the copied database.  Then you can upgrade  the copy and when you're done just switch the databases and files.

The other reason to do this is that 1.1 skins are different from 3.x skins. You'll want to give yourself time to upgrade your skins to work with the new version.  If you create this "shadow" site, you can do this without any downtime for your live site.

You should definitely choose automatic.  This will create and update the database tables for you.  With a manual install, you need to know a little more about mysql and how to use phpmyadmin.


 
Posted : 17/06/2008 1:12 pm
(@guest2326)
Posts: 0
 

Thank you for a quick reply!

We are going to work on the upgrade tomorrow, so I shall keep you posted. Rather, I'll add any additional information we learn to this post. Hopefully we won't have any more questions.

Ta.


 
Posted : 18/06/2008 6:38 am
(@guest2326)
Posts: 0
 

Okay, we made it through and got this error at the end:

Warning: include_once(_BASEDIRincludes/mysqli_functions.php) [function.include-once]: failed to open stream: No such file or directory in /home/mostpote/public_html/includes/dbfunctions.php on line 2

Warning: include_once() [function.include]: Failed opening '_BASEDIRincludes/mysqli_functions.php' for inclusion (include_path='.:/usr/lib/php') in /home/mostpote/public_html/includes/dbfunctions.php on line 2

Fatal error: Call to undefined function dbconnect() in /home/mostpote/public_html/config.php on line 10

http://www.mostepotente.net/index.php this is the link to the site. Is there something we are missing in the process. We did everything exactly as the clarified instructions said.

Thank you again for any help.


 
Posted : 20/06/2008 2:28 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
 

Add define("_BASEDIR","");  somewhere above the inclusion. It should remove the errors, anyhow. 🙂


archive: dramione.org
site: accio.nu

Available for skin/mod commission! 🙂

 
Posted : 20/06/2008 3:01 pm
(@separatrix)
Posts: 11
Active Member
 

Please define 'above the inclusion' for us.  When we say no0bs, we totally mean it!

Thank you!


 
Posted : 20/06/2008 3:05 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
 

Haha, sorry, that was just something I thought of once I saw the error. I haven't actually done any hXc upgrading, so I'm not exactly familiar with what the file looks.

However, you can try before any of other PHP starts...


archive: dramione.org
site: accio.nu

Available for skin/mod commission! 🙂

 
Posted : 20/06/2008 3:08 pm
(@separatrix)
Posts: 11
Active Member
 

Please define 'PHP starts'  LOL.  I'm sorry to be such an idiot, but this is the first time I have ever installed, someone else did it for me before.  So if you could tell me exactly what page/path whatever to take to add the ("_BASEDIR","") I will gladly do it.  🙂  I am guessing I do it somewhere in the public_html folder, but beyond that -- clueless.

Thank you.


 
Posted : 20/06/2008 3:11 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
 

It's OK. 😀 We'll all been there before.

I'd hazard a guess at config.php (that's the file I see in the error) so just after <?php


archive: dramione.org
site: accio.nu

Available for skin/mod commission! 🙂

 
Posted : 20/06/2008 3:15 pm
(@separatrix)
Posts: 11
Active Member
 

Added define("_BASEDIR",""); after the <?php and got the following (so I removed it for the time being):

Warning: include(/dbconfig.php) [function.include]: failed to open stream: No such file or directory in /home/mostpote/public_html/header.php on line 43

Warning: include() [function.include]: Failed opening '/dbconfig.php' for inclusion (include_path='.:/usr/lib/php') in /home/mostpote/public_html/header.php on line 43

Warning: mysql_query() [function.mysql-query]: Access denied for user 'mostpote'@'localhost' (using password: NO) in /home/mostpote/public_html/index.php on line 27

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/mostpote/public_html/index.php on line 27

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mostpote/public_html/index.php on line 28

Warning: mysql_query() [function.mysql-query]: Access denied for user 'mostpote'@'localhost' (using password: NO) in /home/mostpote/public_html/index.php on line 61

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/mostpote/public_html/index.php on line 61

Warning: mysql_query() [function.mysql-query]: Access denied for user 'mostpote'@'localhost' (using password: NO) in /home/mostpote/public_html/index.php on line 62

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/mostpote/public_html/index.php on line 62

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mostpote/public_html/index.php on line 63

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mostpote/public_html/index.php on line 65

Warning: mysql_query() [function.mysql-query]: Access denied for user 'mostpote'@'localhost' (using password: NO) in /home/mostpote/public_html/index.php on line 110

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/mostpote/public_html/index.php on line 110

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mostpote/public_html/index.php on line 111

Warning: mysql_query() [function.mysql-query]: Access denied for user 'mostpote'@'localhost' (using password: NO) in /home/mostpote/public_html/index.php on line 115

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/mostpote/public_html/index.php on line 115

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mostpote/public_html/index.php on line 116

Warning: mysql_query() [function.mysql-query]: Access denied for user 'mostpote'@'localhost' (using password: NO) in /home/mostpote/public_html/blocks.php on line 3

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/mostpote/public_html/blocks.php on line 3

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mostpote/public_html/blocks.php on line 4

Warning: mysql_query() [function.mysql-query]: Access denied for user 'mostpote'@'localhost' (using password: NO) in /home/mostpote/public_html/blocks.php on line 45

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/mostpote/public_html/blocks.php on line 45

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mostpote/public_html/blocks.php on line 46

Warning: mysql_query() [function.mysql-query]: Access denied for user 'mostpote'@'localhost' (using password: NO) in /home/mostpote/public_html/blocks.php on line 70

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/mostpote/public_html/blocks.php on line 70

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mostpote/public_html/blocks.php on line 71


 
Posted : 20/06/2008 3:21 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
 

OK.

With the _BASEDIR undefined, you were only popping up with few errors because it couldn't find any folders beginning with _BASEDIR, which is essentially correct, because you have "includes" and not "_BASEDIRincludes".

Defining _BASEDIR (to nothing) means that the script looks for includes/ instead of _BASEDIRincludes/ so the masses of errors in the above post are basically the errors you need to fix. 😛

However, those errors just seem to be pointing to invalid MySQL username/password/host/name in the config.php; ensure they're correct and the errors should -- I imagine -- decrease. :3


archive: dramione.org
site: accio.nu

Available for skin/mod commission! 🙂

 
Posted : 20/06/2008 3:28 pm
(@separatrix)
Posts: 11
Active Member
 

And this is where it begins to confuse me, there are so many errors I get overwhelmed and can't sort out what exactly I need to do to correct them.

So shall I put the define("_BASEDIR",""); back at the <?php so that all those errors pop up again?


 
Posted : 20/06/2008 3:33 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
 

Yeah, it does seem a little overwhelming, but the majority seem to be MySQL-based so that's better that lots of different ones.

From the first error, it needs dbconfig.php, which I'm assuming is the configuration file from 1.1? Upload that and see whether more/less errors appear...


archive: dramione.org
site: accio.nu

Available for skin/mod commission! 🙂

 
Posted : 20/06/2008 3:38 pm
(@separatrix)
Posts: 11
Active Member
 

Okay, where am I uploading a dbconfig file from, and where is it going.


 
Posted : 20/06/2008 3:43 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
 

The dbconfig.php from the efiction 1.1 into public_html/

Except that I just remembered ... did you guys run the upgrade already?


archive: dramione.org
site: accio.nu

Available for skin/mod commission! 🙂

 
Posted : 20/06/2008 3:46 pm
Page 1 / 2
Share: