So I am using a PC, windows based environment
I am using Windows based hosting with mysql
I am able to access phpmyadmin
My only frustration at this point is that I do not yet know enough about the PHP world to diagnose the installation I have been attempting.
The PHP-NUKE howto speaks to step - by step manual installation pf both the PHP-NUKE engine as well as setting up and installing the database. 8.0 downloads with the instructions:
Installing the Package (The fast and easy way)
----------------------------------------------
Unzip the package into the directory you want to use on you web
server, if you're unsure where that is, ask you system administrator.
The system will show you an error message with a link to the web based installer utility (introduced
with PHP-Nuke 8.0), follow the very easy steps and you're done.
The first thing I noticed is that I am not certain how to organize the files within the 8.0 package to properly execute the install, I.E. which files MUST be listed in the root directory and NOT within a folder that is in the root directory. Some instructions talk about making sure the files within the HTML folder are in the root directory, but again I am still very unclear as to what the correct alignment should be.
Using the web based installer seemed a hopeful sign that I was soon to be toying with this package, but getting to the step that asks for database information is as far as the installer will go.
I went into my 1and1 user panel, went to mysql database management, and created a database specifically for this "test site" I am creating as a learning environment. I printed out the db name, user name, password, and host name, and returned to the web-based installer screen.
The installer suggested that the host hame is typically "localhost" but my hosting company assigns a specific hostname, which is a subdomain ( I assume ) of the root directory, perfora.net. So my host name in this instance would be some form of db123.perfora.net. Entering the information as requested and clicking next was followed by about a 20 second delay with progress showing in the progress bar at the bottom of the browser window, before showing an "ERROR500 - there was an internal server error. Please try again later."
I assumed after several attempts that either I had uploaded the files to the FTP in the wrong structure of folders, or that there was a problem with dbase within 1and1.
So I suppose that my first question would be - is there a specific root directory / tree organization necessary when it comes to uploading the PHP-NUKE package in order to assure that it installs properly? My assumption would have been that it is sorted correctly from the get go, and uploading as is will be sufficient.
My second question would be has anyone already gone through this web-based installer for v8.0, and can assist in explaining why I might be having issues?
My last question in this very first post would be to learn from users of PHP who use 1and1 to better understand and avoid any tech issues that arise when trying to implement PHP using 1and1 servers and mysql.
Nicholas
hue Support Mod
Joined: Apr 18, 2003
Posts: 368
Location: Ohio
Posted:
Thu Mar 15, 2007 5:27 am
Quote:
The first thing I noticed is that I am not certain how to organize the files within the 8.0 package to properly execute the install, I.E. which files MUST be listed in the root directory and NOT within a folder that is in the root directory. Some instructions talk about making sure the files within the HTML folder are in the root directory, but again I am still very unclear as to what the correct alignment should be.
Unzip your package . Once thats done, you should see three folders along with some stray files . Go into the folder that says html and copy everything inside that folder and upload it to your root directory .
Quote:
Using the web based installer seemed a hopeful sign that I was soon to be toying with this package, but getting to the step that asks for database information is as far as the installer will go.
Sorry, I've never used nor seen the installer .
Quote:
went into my 1and1 user panel, went to mysql database management, and created a database specifically for this "test site" I am creating as a learning environment. I printed out the db name, user name, password, and host name, and returned to the web-based installer screen.
The installer suggested that the host hame is typically "localhost" but my hosting company assigns a specific hostname, which is a subdomain ( I assume ) of the root directory, perfora.net. So my host name in this instance would be some form of db123.perfora.net. Entering the information as requested and clicking next was followed by about a 20 second delay with progress showing in the progress bar at the bottom of the browser window, before showing an "ERROR500 - there was an internal server error. Please try again later."
Again, never seen the installer , but it sounds like you entered the wrong information. I would recommend installing this manually. It's very easy and it sounds like your alomost done . Since you have already created your database, lets do this . Open your config.php file (inside of your nuke html folder) . This what you need to change
Once you make your changes, upload that into your root directory on your site . Then, go into 1&1 control panel . then to your MySQL Administration Area . Find your database in your list there , and to the right of it, click on the phpmyadmin tab . This will bring up another window . When that loads , you will see the 1&1 logo at the top left corner , now, just under that you will see SQl image, the one beside the image of the house. Click on that SQL tab and again, that will bring up another window so you can now run queries on your database . Now, with that open , go back to your files for your php-nuke and you will see a folder that says , sql . Go into that folder and open up the nuke.sql file there. Once you get that open, copy everything inside if that sql file . Once you get that copied , go back to that sql query window and paste everything you just copied , into that window and then click GO . Hopefully it tells you it was successful , if so you should be all done with the database aspect of the install . If everything went good, go ahead and delete that install directory because you do not need it . Also, go to your site and follow the instructions and create your God account A.S.A.P .
greabow Nuke Soldier
Joined: Mar 15, 2007
Posts: 20
Posted:
Thu Mar 15, 2007 6:25 pm
Ok - so following your exact instructions for manual installation has gotten me to the point of elation as the test site loaded, and I am able to log into the admin panel of the portal.
The first small glitch I have found so far is that the phpBB version contained within PHPNUKE8.0 seems out of date, according to this warning when I log into the admin panel:
Your installation does not seem to be up to date. Updates are available for your version of phpBB, please visit http://www.nukeresources.com to obtain the latest version of BBToNuke (the ported version of phpBB files for phpNuke).
The latest available version is phpBB 2.0.22.You are running phpBB 2.0.20
The first few times I attempted to log into the panel I got a frames page with error messages that read "Sorry, too many page loads in so little time!". after the 5th attempt, the left frame shows the error and the right frame the admin panel, with the aforementioned warning. I am going to hunt down the upgrade files and instructions and will post my progress as I go....
hue Support Mod
Joined: Apr 18, 2003
Posts: 368
Location: Ohio
Posted:
Fri Mar 16, 2007 5:48 am
greabow wrote:
Your installation does not seem to be up to date. Updates are available for your version of phpBB, please visit http://www.nukeresources.com to obtain the latest version of BBToNuke (the ported version of phpBB files for phpNuke).
The latest available version is phpBB 2.0.22.You are running phpBB 2.0.20
The first few times I attempted to log into the panel I got a frames page with error messages that read "Sorry, too many page loads in so little time!". after the 5th attempt, the left frame shows the error and the right frame the admin panel, with the aforementioned warning. I am going to hunt down the upgrade files and instructions and will post my progress as I go....
This is a new anti-flood system that has been implemented with the 8.0 release. To help solve this , give this a try .
Go to your includes folder and find this file -- > ipban.php . Open that up and towards the bottom find this
Code:
if ($numrow >= 3) {
Change the 3 to something like 7 . Save the file and overwrite your other one .
As always, before making any changes to your files , make backups .
Oh great sense of the Nukeworld.... when I D/L that first update in compressed format, I found no read me or install txt files to instruct me on what to do with these files. Care to assist?
UPDATED:
What I did, hoping that i have done this correctly, is locate each file and replace with the ones from the D/L group... the lone file not in the folder reads as follows:
######################################################
# After you used this file, you can safely delete it.
######################################################
# -= WARNING: PLEASE READ =-
#
# NOTE: This file uses config.php to retrieve needed
# variables values. So, to do the upgrade PLEASE copy
# this file in your server root directory and execute
# it from your browser.
######################################################
I ran that file and received this message:
"BBtoNuke Update finished!
You should now delete this upgrade file from your server."
Now on to the nest step of instructions you gave me
hue Support Mod
Joined: Apr 18, 2003
Posts: 368
Location: Ohio
Posted:
Fri Mar 16, 2007 7:51 am
greabow wrote:
UPDATED:
What I did, hoping that i have done this correctly, is locate each file and replace with the ones from the D/L group... the lone file not in the folder reads as follows:
######################################################
# After you used this file, you can safely delete it.
######################################################
# -= WARNING: PLEASE READ =-
#
# NOTE: This file uses config.php to retrieve needed
# variables values. So, to do the upgrade PLEASE copy
# this file in your server root directory and execute
# it from your browser.
I didn't look to see if there was a "readme" file or not, just assumed there would be -- sorry But yes, it sounds like you did it right . Just always maintain directory structure .
greabow Nuke Soldier
Joined: Mar 15, 2007
Posts: 20
Posted:
Fri Mar 16, 2007 9:23 am
hue wrote:
greabow wrote:
UPDATED:
What I did, hoping that i have done this correctly, is locate each file and replace with the ones from the D/L group... the lone file not in the folder reads as follows:
I didn't look to see if there was a "readme" file or not, just assumed there would be -- sorry But yes, it sounds like you did it right . Just always maintain directory structure .
The second file is in rar format -I had to track down a RAR reader called 7-zip to unpack the files, and ran those as well
hue Support Mod
Joined: Apr 18, 2003
Posts: 368
Location: Ohio
Posted:
Fri Mar 16, 2007 9:29 am
greabow wrote:
hue wrote:
greabow wrote:
UPDATED:
What I did, hoping that i have done this correctly, is locate each file and replace with the ones from the D/L group... the lone file not in the folder reads as follows:
I didn't look to see if there was a "readme" file or not, just assumed there would be -- sorry But yes, it sounds like you did it right . Just always maintain directory structure .
The second file is in rar format -I had to track down a RAR reader called 7-zip to unpack the files, and ran those as well
How about the anti-flood issue you were having> ? <
greabow Nuke Soldier
Joined: Mar 15, 2007
Posts: 20
Posted:
Fri Mar 16, 2007 10:38 am
hue wrote:
How about the anti-flood issue you were having> ? <
once I found the file in the directory INCLUDES, a cinche to mod. Although for some reason my wiseFTP has lost the windowpane on the right that lets me see individual files, so I went out and D/L PSPad.
So here is my next question , Mr. Wizard...
I am working on a secondary URL (not the url i will have the site on ), so I can play with all these buttons and gadgets... is it possible to transfer my work to a different URL, or do i have to start completely from scratch on all design ideas and modifications?
Thank you obewan - you're my only hope...lol
Nicholas
hue Support Mod
Joined: Apr 18, 2003
Posts: 368
Location: Ohio
Posted:
Fri Mar 16, 2007 11:24 am
greabow wrote:
hue wrote:
How about the anti-flood issue you were having> ? <
once I found the file in the directory INCLUDES, a cinche to mod. Although for some reason my wiseFTP has lost the windowpane on the right that lets me see individual files, so I went out and D/L PSPad.
So here is my next question , Mr. Wizard...
I am working on a secondary URL (not the url i will have the site on ), so I can play with all these buttons and gadgets... is it possible to transfer my work to a different URL, or do i have to start completely from scratch on all design ideas and modifications?
Thank you obewan - you're my only hope...lol
Nicholas
Sure can . The first thing I would do is go into phpmyadmin for your current site . Once there , you will need to export all the tables and such . When you are at the export area you will have a few options like
Code:
SQL
LaTeX
Microsoft Excel 2000
Microsoft Word 2000
CSV for MS Excel
CSV
Make sure to choose SQL . Now, down towards the bottom you will see where it says something like
Code:
Compression
. Choose "zipped" and save it to your hard drive somewhere . Once you get the database information you will then need to copy all of your nuke files from your webserver and download them . Once you have your files its then time to start on the new site but make sure to change your config.php file to reflect the new site's database . Once you have done that, go ahead and start uploading your files to the new site (url) and while thats working, I would go ahead and go into phpmyadmin for the new site . Now, that backup that you download just a few minutes before you will now need to unpack that and open it up . Once open, copy everything in there and run that query on your new database. You will have to make a few small changes when thats done such as site name, url ...etc ... but you can do all that once you are back in the site .
_________________ Go Go Buckeyes!!
greabow Nuke Soldier
Joined: Mar 15, 2007
Posts: 20
Posted:
Fri Mar 16, 2007 11:59 am
Nicholas[/quote]
Sure can .[/quote]
Let me reprhase more specifically to my hosting company - the DB administration is separate from the FTP administration. Would I be able to reconfigure my existing DB to be accessed and used for a different URL without recreating a brand new separate SQL database ( similar to the way you can assign an IP adddress to multiple URL's, and then later choose to redirect any of them to a different site once built).
hue Support Mod
Joined: Apr 18, 2003
Posts: 368
Location: Ohio
Posted:
Fri Mar 16, 2007 12:37 pm
greabow wrote:
Would I be able to reconfigure my existing DB to be accessed and used for a different URL without recreating a brand new separate SQL database
Well sure . Are both sites with the same host? Also, if you use the same database , and you want to use one of your sites as kinda like your "main site" and the other one like a "Dev" site , then you will have to make a some changes to the database prefix as well as your config.php (for your new site) .
This said, if you are just wanting to "mirror" the site then simply upload the files to the new site and make no changes to the config.php , so that it connects to the same database. However, if you make changes to one site , then of course it's going to change the other as well since you are sharing the same database . I would strongly advise you to use a new database though if at all possible. <---- Only if your goal is to not "mirror" the sites.
_________________ Go Go Buckeyes!!
greabow Nuke Soldier
Joined: Mar 15, 2007
Posts: 20
Posted:
Fri Mar 16, 2007 2:05 pm
Ok .. currently I own two domains (ex: siteA and siteB), both hosted by 1and1
I created a database (ex: 2007testsite)
I created an FTP account (ex: 12345-siteA)
The username, (ex: 12345siteA) is pointing at the directory (ex: /siteA)
The Domain (ex siteA.com) is pointing at the same directory (ex: /siteA)
I installed/uploaded PHPNUKE using WiseFTP and the siteA FTP account as directed, and used the upgrades you suggested.
As I look at the admin tools, it seems to me that by simply correlating the directory the Domain points to, I would be able to utilize the DEV directory as the real site once development is at a point where I am ready to have the site "go live".
Thoughts?
hue Support Mod
Joined: Apr 18, 2003
Posts: 368
Location: Ohio
Posted:
Fri Mar 16, 2007 2:47 pm
greabow wrote:
Ok .. currently I own two domains (ex: siteA and siteB), both hosted by 1and1
I created a database (ex: 2007testsite)
I created an FTP account (ex: 12345-siteA)
The username, (ex: 12345siteA) is pointing at the directory (ex: /siteA)
The Domain (ex siteA.com) is pointing at the same directory (ex: /siteA)
I installed/uploaded PHPNUKE using WiseFTP and the siteA FTP account as directed, and used the upgrades you suggested.
As I look at the admin tools, it seems to me that by simply correlating the directory the Domain points to, I would be able to utilize the DEV directory as the real site once development is at a point where I am ready to have the site "go live".
Thoughts?
Yes, but as you say , "correlating " , if you make changes to the files in one directory , it will aslo change the other because they are using the same directory . This is great , if thats how you want it to be , however, if one mistake is made, then of course it effects both sites .
_________________ Go Go Buckeyes!!
greabow Nuke Soldier
Joined: Mar 15, 2007
Posts: 20
Posted:
Fri Mar 16, 2007 5:15 pm
ok Mr Wizard, next order of business... can I alter the style of the Forums to come closer to matching the rest of the site? Is it the same normal styles proceedure as typical PHPBB? Can I get an exact copy or use the styles files already within NUKE to derrive a matching forum layout?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum