See by yourselfFatal error: Cannot use string offset as an array in C:\Program Files\Abyss Web Server\htdocs\dl_mod\classes\class_dlmod.php on line 454
Download Mod 5.0.6 Fatal error using PHP 5.1.4
-
intelx86
Download Mod 5.0.6 Fatal error using PHP 5.1.4
When I create a category from the admin panel, and try to access downloads.php I get the following:
-
oxpus
Please can you post your line 454 of your class_dlmod.php?
On original this line will be
On original this line will be
Code: Alles auswählen
$mini_status_icon[$cur]['new'] += intval($this->dl_file_icon['new_sum'][$cat_id]);-
intelx86
It's the original one
Code: Alles auswählen
$mini_status_icon[$cur]['new'] += intval($this->dl_file_icon['new_sum'][$cat_id]);-
intelx86
Name: Email tools
Path: /
Description: <empty>
Parent category: >> Highest Level
Uploads into this category must be approved: Yes
Allow mod descriptions on upload: No
Enable detailed statistics: Yes
Prune statistical data: 100000
Comments: Yes
Automatically approve every new comment: No
Traffic quote (currently off): 0 KB
Permisions
View = True
Download = True
Upload: False
Moderate: False
Read comments: Everybody
Write comments: Registered users
Path: /
Description: <empty>
Parent category: >> Highest Level
Uploads into this category must be approved: Yes
Allow mod descriptions on upload: No
Enable detailed statistics: Yes
Prune statistical data: 100000
Comments: Yes
Automatically approve every new comment: No
Traffic quote (currently off): 0 KB
Permisions
View = True
Download = True
Upload: False
Moderate: False
Read comments: Everybody
Write comments: Registered users
-
oxpus
-
intelx86
-
intelx86
I think I've found a solution. Tell me if I'm right. Anyway it works!
Find
Replace with
Find
Code: Alles auswählen
$mini_status_icon[$cur]['new'] += intval($this->dl_file_icon['new_sum'][$cat_id]);
$mini_status_icon[$cur]['edit'] += intval($this->dl_file_icon['edit_sum'][$cat_id]);Code: Alles auswählen
if ($this->dl_index[$cat_id]['total'] <> 0)
{
$mini_status_icon[$cur]['new'] += intval($this->dl_file_icon['new_sum'][$cat_id]);
$mini_status_icon[$cur]['edit'] += intval($this->dl_file_icon['edit_sum'][$cat_id]);
}-
intelx86
-
intelx86