{main}() /var/www/html/TLP/old-pnews265/index.php:0 pnews_nnrp->list_group() /var/www/html/TLP/old-pnews265/index.php:104 Undefined variable: news_groups in /var/www/html/TLP/old-pnews265/index.php on line 104
{main}() /var/www/html/TLP/old-pnews265/index.php:0
Uninitialized string offset: 0 in /var/www/html/TLP/old-pnews265/nnrpclass.php on line 160
ok, and even 777 won't fix it. Hang on, I just had a thought.... maybe its ownership although they all belong to www-data.. php -v reports
5.6.40 buntu.. although it is actually 7.x
This says, on line 160 an array is being used, but the variable is
not an array. EG: If a string variable $foo is created, then
something is trying to use it as an array with $foo[0].
One possible answer I came across when searching was to, if you're
running Apache, is to edit /etc/apache2/httpd.conf
Look for a line that says: !LoadModule php5_module
the number sign)
But, hey, I don't really know what's going on here, so good luck, regardless.
One possible answer I came across when searching was to, if
you're running Apache, is to edit /etc/apache2/httpd.conf
Look for a line that says: !LoadModule php5_module
That must've been some antiquarian apache version. php is
enabled... but done via mods_enabled, not in httpd.conf.
do you mean a hash? # ponder... anyway... kinda moot...
But, hey, I don't really know what's going on here, so good luck, regardless.Thanks, I need plenty :)
exhibits the same problem.. Is there anything I could've done to the system that might have broken that functionality?
But the obvious choice would be to look through the code path, and
see where that variable "should" be assigned a value and then figure
out why it isnt, or why that code path is being skipped.
Nah, that's debian (a2enmod?) making the config more modular and easy
to use. It just updates the relevant config file for you (which
is included in httpd.conf).
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 28 |
Nodes: | 8 (0 / 8) |
Uptime: | 135:22:12 |
Calls: | 2,000 |
Calls today: | 1 |
Files: | 11,111 |
Messages: | 943,160 |