Dew-NewPHPLinks 2.1.0.0b Setup STEP

For quick installation notes, please view the readme.txt.

For assistance or questions please visit the Dew-New-PHPlinks forums.

Please take a moment to review the list of contributors.

Dew-NewPHPLinks is distributed under the GNU General Public License.

System Requirements
  1. A recent version of PHP
  2. Access to create tables in a MySQL database.
Fresh Install:

  1. Upload files.

  2. Set up Database: you can use an exising MySQL database or you can create a new database (mysql.com). Then you need to fill in the settings for MySQL hostname, username, password and the database name in the include/config.php file.

  3. Create tables as definded in docs/NewPHPLinks.sql which can be done by clicking here if you have set up config.php correctly.

  4. Create link categories here.

    Error connecting to database
    Please edit the file /include/config.php to match your server enviroment and try again
"; exit; } if($db = @mysql_pconnect($dbhost, $dbuser, $dbpasswd)) { mysql_select_db($dbname, $db); echo '
Now trying to create tables
'; $lines = explode(';',implode('',file ("NewPHPLinks.sql"))); $num_querys=count($lines); $i=0; while ($i < $num_querys){ $tmp_sql=$lines[$i]; $reqeust=mysql_query($tmp_sql); $i++; } $tmp2_sql="SELECT a.*,b.*,c.*,d.*,e.*,f.*,g.*,h.*,i.* FROM phplinks_categories as a, phplinks_links as b, phplinks_related as c, phplinks_reviews as d, phplinks_sessions as e, phplinks_settings as f, phplinks_specs as g, phplinks_temp as h, phplinks_terms as i"; $reqeust=mysql_query($tmp2_sql) or die('
Did not work
'.mysql_error()); echo '
SQL query seems to have worked....
The tables have been created and your config is almost done.

Select a category scheme....
You can select from some pre-made categories here
or read about creating your own category schemes by writing MySQL insert statements.
'; } else { echo mysql_error(); echo '

Error:

Could not connect to the database to read the site configuration.

'; if ($our_site=="sitename" AND $dbuser =="dbuser") echo "You don't seem to have the correct settings in include/config.php.

"; } } ?>
  • Click Configuration and setup final variables.

  • Upgrade Database to version 2.0.1+: