Please login or register.

Login with username, password and session length
Pages: 1 ... 3 4 [5] 6 7 ... 10
 on: April 03, 2016, 06:10:40 AM 
Started by jmonroe - Last post by Keyrocks
J Monroe found that the problem may have been caused during removal of a previous install that left something behind, and may have kept the sNews17MU package from functioning. A complete clean-out of the host server's root directory, followed by a re-install of sNews17MU (and a fresh database) appeared to solve it. My guess is that the host's server may have been backed up with the old install's files from a mirror server after sNews17MU was installed the first time ... I had that happen to me several years go ... once.

 on: April 02, 2016, 09:11:48 PM 
Started by jmonroe - Last post by jmonroe
Sent you a pm Doug. Thanks

 on: April 02, 2016, 05:04:27 AM 
Started by jmonroe - Last post by Keyrocks
Edit: I downloaded the file and uploaded but still get blank white page.

Please post the complete URL to your website - where your blank web page is, thanks.

 on: April 02, 2016, 12:16:14 AM 
Started by jmonroe - Last post by jmonroe
I will try removing all files...and deleting the database and start from scratch with a fresh copy of the snews17mu-patched that you posted a good while back.

I will update you shortly.

Edit: I downloaded the file and uploaded but still get blank white page.

 on: April 01, 2016, 05:08:58 PM 
Started by jmonroe - Last post by Keyrocks
I completed a fresh install of sNews 17MU on my localhost (offline) machine which is running with PHP version 5.4.31.
The install went flawlessly in less than 5 minutes, including database creation and populating.

The package I installed has this at the top of the snews17MU.php file. And, it includes a WORK_LOGS folder with two files in it 1) changes_by-ha100.txt  and 2) testing-and-mods-by-keyrocks.txt
... Check your installation package to see if we're both using the same file & package.

Code: [Select]
<?php session_start();

sNews 1.7 MU Release Candidate - 2

Multiple User MOD Version
by Bob Baker -

ported to v1.7 by ha100

Copyright (C)
sNews is licensed under a Creative Commons License


J Munroe - Please post the complete URL to where your blank web page is so I can view it, thanks.

Also - have a look at this thread - SOLVED - Blank page with V1.7 for a simple modification that will help determine if you are just having a database connection problem or something else. sNews 7 didn't have the error reporting functionality that was in the sNews 6 versions - this modification puts it back into 1.7.

 on: April 01, 2016, 05:00:48 PM 
Started by jmonroe - Last post by witit
To connect to database using mysqli, use this code:
Code: [Select]
function connect_to_db() {
$db = ($GLOBALS["___mysqli_ston"] = new mysqli(db('dbhost'),  db('dbuname'),  db('dbpass'), db('dbname')));
if ($mysqli->connect_errno) {
    echo "Failed to connect to MySQL: (" . $mysqli->connect_errno . ") " . $mysqli->connect_error;
No need to select the db because dbname is already specified. The supergolbals $GLOBALS["___mysqli_ston"] is defined here for use in all the mysqli_query statements as an additional parameter required.

 on: April 01, 2016, 04:56:06 PM 
Started by jmonroe - Last post by Keyrocks
NOTE: This thread has been split off from another thread - snews1.7 mod for php7 because it's related specifically to the Multi-User version of sNews 1.7.

 on: April 01, 2016, 03:50:48 PM 
Started by jmonroe - Last post by jmonroe
That's actually supposed to say 5.6. I am not sure how only 6/ came out. I think I was half sleeping when I typed out the message to you hence all of the garbage included with it. I will take a look some more and see. Trying to set the script to connect using mysqli as well and usind a dbconfig file to obtain the details. Trying to use the 17mu script as is isn't working in my environment. See my specs below and I just downgraded this morning to 5.3 but no change.

Apache Version    2.2.29
PHP Version    5.3.29
MySQL Version    5.5.48-cll
Architecture    x86_64
Operating System    linux

 on: April 01, 2016, 06:32:51 AM 
Started by jmonroe - Last post by Keyrocks
There is no need to replicate my posts in quote-blocks, so I removed the one in your last post.  ;D

There is no PHP version 6. The PHP developers started working on it in early 2009, but they ran into too many hurdles in creating PHP 6 and eventually abandoned it. Most of the features they had been working on have since been added to PHP 5.x.

I probably can't help you. I do all my testing offline on my office computer, using XAMPP version 1.8.2 (Apache server package) running PHP version 5.4.31. The latest stable version of PHP is 5.6.20 but commercial website hosts don't run the latest version. The latest version of XAMPP is using PHP 5.6.19.
.... What version of PHP is your host server running?
.... If you have a phpinfo.php file in the root of your website domain, you can point your browser to it and get the full spec sheet for your host server.

Have you checked out the PHP Documentation website to see what has changed from PHP 5.4 to PHP 5.6?
- Migrating from PHP 5.4.x to 5.5.x - incompatibility issues HERE
- Migrating from PHP 5.5.x to 5.6.x - incompatibility issues HERE

 on: April 01, 2016, 02:21:11 AM 
Started by jmonroe - Last post by jmonroe

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.

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