Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Pages: 1 ... 3 4 [5] 6 7 ... 10
 41 
 on: April 01, 2016, 02:21:11 AM 
Started by jmonroe - Last post by jmonroe
Keyrock,

It's being hosted via a hosting company TMDHosting. Secondly, i have the correct information in my db details now. The problem is that so much is deprecated it seems for php6/. I get a blank page.


 42 
 on: March 31, 2016, 05:15:50 PM 
Started by jmonroe - Last post by Keyrocks
Keyrock...any chance you may tackle this feat?

OK. First, we need some initial details.
1) Where do you have your Snews1.7MU package installed - on your local machine or on a host server?
2) If on your local machine (offline, on your own computer), are you using XAMPP as your server client?

Looking at the error log in your March 6th post (up above) all of the errors are in two functions located in your installation's engine file (snews27MU.php)

A) Lines 3603 & 3604 are the first two lines in function_connect which makes the connection to your database. Line 3603 determine whether or not the host-name, username and password are correct. If they are correct, line 3604 connects to the database (named in your connection settings). If they are not correct, you get the error messages (as shown in your error log).
Quote
// CONNECT TO DATABASE
function connect_to_db() {
   $db = mysql_connect(db('dbhost'), db('dbuname'), db('dbpass'));
   mysql_select_db(db('dbname')) or die(l('dberror'));
   if (mysql_num_rows(mysql_query("SHOW TABLES LIKE '"._PRE.'articles'."'")) != 1) {
         die(l('db_tables_error'));
   }
}

B) The rest of the error messages in your error log are on lines 3581 & 3582 in the // FILELIST FUNCTION, which is just above the database connection function. This function determines which files in your site's engine file-set are visible or not visible to a logged-in site administrator while in the admin panels. If it can't find the variable values it needs, it kicks out the error messages.

What the Problem probably is:

1) Check to make sure the values you have in your database connection variables at the top of the snews17MU.php file are correct - one or more of them is not correct for your installation.
Quote
// DATABASE VARIABLES
function db($variable) {
   $db = array(
      'dbhost'    => 'localhost', // MySQL host
      'dbname'    => 'snews17mu_ha100', // Database name
      'dbuname'    => 'root', // Database Username
      'dbpass'    => '', // Database password
      'prefix'    => '' // Table prefix for multiple sNews systems on one database (if you don't need it just leave it blank)
   );
   return $db[$variable];
}

 43 
 on: March 29, 2016, 03:30:55 AM 
Started by jmonroe - Last post by jmonroe
Keyrock...any chance you may tackle this feat?

That is what I am attempting to do. Hopefully, I will be successful.

How did you make out on this - did you get it running OK?

No. I didn't have much luck and somewhat short on time. I wish I could get it done.

 44 
 on: March 28, 2016, 05:11:15 AM 
Started by jmonroe - Last post by jmonroe
That is what I am attempting to do. Hopefully, I will be successful.

How did you make out on this - did you get it running OK?

No. I didn't have much luck and somewhat short on time. I wish I could get it done.

 45 
 on: March 19, 2016, 10:13:46 PM 
Started by jmonroe - Last post by Keyrocks
That is what I am attempting to do. Hopefully, I will be successful.

How did you make out on this - did you get it running OK?

 46 
 on: March 19, 2016, 10:07:05 PM 
Started by nukpana - Last post by Keyrocks
Is there any more development being done on Snews? Or is the project dead? Thanks

Thanks for checking in and asking.
No, there hasn't been any new development of sNews for several years now. sNews 1.7.1 - updated on February 12, 2011 was the final version. Those of us who were developing it up to that time couldn't come to agreement on how to get version 2.0 going. A few (including myself) continue using heavily modified forks we had developed for individual use. Anyone is free to start working on a new version though.

 47 
 on: March 10, 2016, 02:05:05 AM 
Started by jmonroe - Last post by jmonroe
That is what I am attempting to do. Hopefully, I will be successful.

 48 
 on: March 09, 2016, 02:49:02 AM 
Started by jmonroe - Last post by witit
Congrats on the progress. In my case, the errors listed by the converter tool did not help. I made sure no error in database connection first and then clear each of the errors from error log.

 49 
 on: March 09, 2016, 02:34:27 AM 
Started by jmonroe - Last post by jmonroe
What I did was put the file in the GUI folder and point it to the http location of that file and it converted it. Now i need to fix the errors that it listed and hopefully it will work.

 50 
 on: March 08, 2016, 10:05:37 AM 
Started by jmonroe - Last post by witit
I use the full root path. In my case with nginx server: /srv/http/www/mydomain/myfile. For apache server it may look something like: /home/httpd/vhosts/mydomain/httpdocs/myfile.

Pages: 1 ... 3 4 [5] 6 7 ... 10