You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 55 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - How to install PHP-Nuke on GoDaddy without a command line? [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Starman
Nuke Cadet
Nuke Cadet


Joined: Oct 21, 2003
Posts: 3


PostPosted: Tue Oct 21, 2003 4:28 pm Reply with quoteBack to top

Hi all,
I have an account with GoDaddy. Installing PHPBB was a breeze since there was a script that created the SQL database entries. With Nuke, you get an SQL file and command-line instructions. GoDaddy doesn't provide a command line, just a web-based query interface. They don't support telnet or ssh at all; just ftp, and I can't ftp into the server where the SQL database lives, I'm only allowed to ftp into my site. I'm at my wits end. Is there a way to take nuke.sql and wrap something around it that will create the database for me? Thanks.

Mike
Find all posts by StarmanView user's profileSend private message
dezina
Support Mod
Support Mod


Joined: Jun 09, 2003
Posts: 1713

Location: England

PostPosted: Wed Oct 22, 2003 12:26 am Reply with quoteBack to top

Upload PHPMyadmin, via ftp, to your site Wink

_________________
Image
Backup files BEFORE altering
Use PHPNuke 7.6 with patches!!
No private messages please, POST in forums.
Find all posts by dezinaView user's profileSend private messageVisit poster's website
Starman
Nuke Cadet
Nuke Cadet


Joined: Oct 21, 2003
Posts: 3


PostPosted: Wed Oct 22, 2003 3:50 am Reply with quoteBack to top

I'm sorry...I should have mentioned that the web-based interface that GoDaddy provides IS PHPMyAdmin. The problem is that it doesn't allow me to do anything except queries and create entries one at a time. Will installing PHPMyAdmin in my own space help?

Mike
Find all posts by StarmanView user's profileSend private message
soulmate
Nuke Cadet
Nuke Cadet


Joined: Oct 22, 2003
Posts: 4


PostPosted: Wed Oct 22, 2003 6:08 am Reply with quoteBack to top

yes with your own pma install it should be possible.

I have created a script.

I have created a Script that fill the Data automaticly:

Code:
<html>
<head>
<title>SqlData.php - by Alex B. </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php

if($fehler) {
$fehler=urldecode($fehler);
}

if($submit=="Uebertragen")
{
      echo "<br>Verbinde zu Datenbank...<br>";
      $conn=mysql_connect($dbhost, $dbuser, $dbpass);
        mysql_select_db($dbdb, $conn);


      echo "<br>Starting $sqlfile...<br>";
      
      $filep=file("./$sqlfile");
      $buf="";
      while (list($nr,$val) = each($filep)) {
         if(substr($val,0,1)!="#")
         {
            $buf.=" ".trim($val);
            if(substr(trim($buf),-1,1)==";")
            {
               $res=mysql_query($buf,$conn);
               if(!$res) {$fehler .= $buf."\r\n\r\n";}
               $buf="";
            }
         }
      }

      echo "<br>READY.";
}

if(!$sqlfile) {$sqlfile="sqldata.sql";}
if(!$dbhost) {$dbhost="localhost";}

?>
<form name="sqlselect" method="POST" action="sqldata.php">
  <table border="1">
    <tr>
      <td valign="top"><font size="+1"><strong>SQL-datei</strong></font></td>
      <td><input name="sqlfile" type="text" id="sqlfile" value="<?php echo $sqlfile; ?>" size="80"></td>
    </tr>
    <tr>
      <td valign="top"><font size="+1"><strong>DB Host</strong></font></td>
      <td><input name="dbhost" type="text" id="dbhost" value="<?php echo $dbhost; ?>" size="80"></td>
    </tr>
    <tr>
      <td valign="top"><font size="+1"><strong>DB User</strong></font></td>
      <td><input name="dbuser" type="text" id="dbuser" value="<?php echo $dbuser; ?>" size="80"></td>
    </tr>
    <tr>
      <td valign="top"><font size="+1"><strong>DB Pass</strong></font></td>
      <td><input name="dbpass" type="text" id="dbpass" value="<?php echo $dbpass; ?>" size="80"></td>
    </tr>
    <tr>
      <td valign="top"><font size="+1"><strong>DB Database</strong></font></td>
      <td><input name="dbdb" type="text" id="dbdb" value="<?php echo $dbdb; ?>" size="80"></td>
    </tr>
    <tr>
      <td valign="top">&nbsp;</td>
      <td><input type="submit" name="submit" value="Uebertragen"></td>
    </tr>
    <tr>
      <td valign="top">Fehlerhafte<br>
        Anweisungen:</td>
      <td><textarea name="fehler" cols="74" rows="10"><?php echo $fehler; ?></textarea></td>
    </tr>
  </table>
  </form>
</body>
</html>
Find all posts by soulmateView user's profileSend private message
dezina
Support Mod
Support Mod


Joined: Jun 09, 2003
Posts: 1713

Location: England

PostPosted: Wed Oct 22, 2003 6:50 am Reply with quoteBack to top

soulmate.. great script, would be even better if you could possibly translate german language sections into English please? Wink

_________________
Image
Backup files BEFORE altering
Use PHPNuke 7.6 with patches!!
No private messages please, POST in forums.
Find all posts by dezinaView user's profileSend private messageVisit poster's website
Starman
Nuke Cadet
Nuke Cadet


Joined: Oct 21, 2003
Posts: 3


PostPosted: Wed Oct 22, 2003 8:07 am Reply with quoteBack to top

That did it!

I had to take all the comments out of the nuke.sql file but after that it worked fine. Thanks!

Mike
Find all posts by StarmanView user's profileSend private message
soulmate
Nuke Cadet
Nuke Cadet


Joined: Oct 22, 2003
Posts: 4


PostPosted: Wed Oct 22, 2003 11:54 am Reply with quoteBack to top

aehm yes sorry Wink

here it is:

Code:
<html>
<head>
<title>SqlData.php - by Alex B. </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php

if($fehler) {
$fehler=urldecode($fehler);
}

if($submit=="Send")
{
      echo "<br>Connect to database...<br>";
      $conn=mysql_connect($dbhost, $dbuser, $dbpass);
        mysql_select_db($dbdb, $conn);


      echo "<br>Starting $sqlfile...<br>";
       
      $filep=file("./$sqlfile");
      $buf="";
      while (list($nr,$val) = each($filep)) {
         if(substr($val,0,1)!="#")
         {
            $buf.=" ".trim($val);
            if(substr(trim($buf),-1,1)==";")
            {
               $res=mysql_query($buf,$conn);
               if(!$res) {$fehler .= $buf."\r\n\r\n";}
               $buf="";
            }
         }
      }

      echo "<br>READY.";
}

if(!$sqlfile) {$sqlfile="sqldata.sql";}
if(!$dbhost) {$dbhost="localhost";}

?>
<form name="sqlselect" method="POST" action="sqldata.php">
  <table border="1">
    <tr>
      <td valign="top"><font size="+1"><strong>SQL-datei</strong></font></td>
      <td><input name="sqlfile" type="text" id="sqlfile" value="<?php echo $sqlfile; ?>" size="80"></td>
    </tr>
    <tr>
      <td valign="top"><font size="+1"><strong>DB Host</strong></font></td>
      <td><input name="dbhost" type="text" id="dbhost" value="<?php echo $dbhost; ?>" size="80"></td>
    </tr>
    <tr>
      <td valign="top"><font size="+1"><strong>DB User</strong></font></td>
      <td><input name="dbuser" type="text" id="dbuser" value="<?php echo $dbuser; ?>" size="80"></td>
    </tr>
    <tr>
      <td valign="top"><font size="+1"><strong>DB Pass</strong></font></td>
      <td><input name="dbpass" type="text" id="dbpass" value="<?php echo $dbpass; ?>" size="80"></td>
    </tr>
    <tr>
      <td valign="top"><font size="+1"><strong>DB Database</strong></font></td>
      <td><input name="dbdb" type="text" id="dbdb" value="<?php echo $dbdb; ?>" size="80"></td>
    </tr>
    <tr>
      <td valign="top">&nbsp;</td>
      <td><input type="submit" name="submit" value="Send"></td>
    </tr>
    <tr>
      <td valign="top">Error:<br>
        :</td>
      <td><textarea name="fehler" cols="74" rows="10"><?php echo $fehler; ?></textarea></td>
    </tr>
  </table>
  </form>
</body>
</html>


The Variable Fehler you can translate with error.

The script should be upload in thes same dictornary there the config.php is.

Cu
alex
Find all posts by soulmateView user's profileSend private message
pappadj
Nuke Cadet
Nuke Cadet


Joined: Jul 08, 2003
Posts: 3


PostPosted: Tue Mar 16, 2004 1:08 pm Reply with quoteBack to top

I know this post is old news but I'm looking to do the same thing however I feel like I just stepped off the plane in Japan for the first time with this.

Is it possible to run me through some basics on setting this up? To show my greeness, I think the code above is saved to notepad and renamed to something.php right?

So far I've uploaded all php files to the root of the server... and that's about it. godaddy isn't the best hosting out there I know but it's not my site.. just trying to build it correctly. This is nothing like cpanel.

Thank you for the help and please don't smack me yet, I'll catch on. Very Happy
Find all posts by pappadjView user's profileSend private message
Wiitigo
Captain
Captain


Joined: Mar 08, 2004
Posts: 319

Location: USA

PostPosted: Tue Mar 16, 2004 6:48 pm Reply with quoteBack to top

go download phpmyadmin and then upload it to your site, it will help administer your databases.

Wiit
Find all posts by WiitigoView user's profileSend private message
kmatwill
Nuke Soldier
Nuke Soldier


Joined: Nov 03, 2005
Posts: 20


PostPosted: Thu Nov 03, 2005 6:04 pm Reply with quoteBack to top

Hi, I could use some help here. I tried to install phpadmin, but i can't even seem to do that. godaddy already uses phpadmin and I tried the script, but when i click send it just goes to a 404page. any ideas here?
Find all posts by kmatwillView user's profileSend private message
BeefToad
Nuke Soldier
Nuke Soldier


Joined: Nov 03, 2005
Posts: 10


PostPosted: Thu Nov 03, 2005 8:05 pm Reply with quoteBack to top

Not sure if this is the appropriate thread, but what the hey...

Noob here... I too have GoDaddy.com hosting (its cheap as hell, what can i say) but I'm having trouble getting the PHPNuke off the ground... for one, what are the settings to use in the config.php? like the dbhost etc etc some deatiled response guiding me through this would be awesome.

I have tried a number of combinations, but no success, may not be my only problem, but hey, first things first.

Thanks for the help.

SN on AIM is TheBeefToad if that is easier.
Find all posts by BeefToadView user's profileSend private message
sunwest
Private
Private


Joined: Jul 24, 2005
Posts: 44

Location: Phoenix, AZ

PostPosted: Fri Nov 04, 2005 4:16 pm Reply with quoteBack to top

Try this -
Quote:
$dbhost = "localhost";
$dbuname = "yourdbname";
$dbpass = "yourpw";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "yoursitekeygoeshere";
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";
$tipath = "images/topics/";
$nuke_editor = 0;
$display_errors = true;
$AllowAllHTML = 1;
$AllowNonAlphaCode = 1;

I have several domains on GoDaddy servers with no phpNuke problems

_________________
Bob
SunWest Internet Services
$3.99 Domain Names
Find all posts by sunwestView user's profileSend private messageSend e-mail
ShadowXK
Nuke Cadet
Nuke Cadet


Joined: Aug 31, 2007
Posts: 2


PostPosted: Fri Aug 31, 2007 12:28 am Reply with quoteBack to top

i'm a toltal newbie at this so im not even sure where to put all that stuff in at tho a step by step guide would really be handy for us newbies
Find all posts by ShadowXKView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.524 Seconds - 328 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::