Seite 1 von 1

problem with Add-On: Remove traffic for deleted posts

Verfasst: Mi 26.Jul, 2006 10:07
von amir abbas
hello

me again

i have problem with this add on
are you test it

when i want to delete a post i get this error message

Code: Alles auswählen

Warning: update_post_stats(./dl_mod/classes/class_dlmod.): failed to open stream: No such file or directory in d:\softwares\utility\easyphp\easyphp1-8\www\persia\includes\functions_post.php on line 479

Warning: update_post_stats(): Failed opening './dl_mod/classes/class_dlmod.' for inclusion (include_path='.;D:/softwares/utility/easyphp/EasyPHP1-8\php\pear\') in d:\softwares\utility\easyphp\easyphp1-8\www\persia\includes\functions_post.php on line 479

Fatal error: Cannot instantiate non-existent class: dlmod in d:\softwares\utility\easyphp\easyphp1-8\www\persia\includes\functions_post.php on line 480
the line 479 and 480

Code: Alles auswählen

include($phpbb_root_path . 'dl_mod/classes/class_dlmod.'.$phpEx);
$dl_mod = new dlmod();

Verfasst: Mi 26.Jul, 2006 18:13
von oxpus
Check the class_dlmod.php will be up!

Verfasst: So 30.Jul, 2006 07:08
von amir abbas
i checked that file
that file is up

that add on has problem
can you check it

thanks :wink:

Verfasst: So 30.Jul, 2006 08:42
von oxpus
Oh, I see!
Open functions_post.php, find

Code: Alles auswählen

			/*
			* remove traffic for deleted posts - Add-On for Download MOD 5.0.x
			*/
			global $userdata, $phpbb_root_path;
and insert after $phpbb_root_path

Code: Alles auswählen

, $phpEx