Problems after installing the Attachment mod

Since Opentools.de has now gone away I've created this forum to house FAQs and support for this mod in phpBB2.

Moderator: Experts

Locked
yssaril
Posts: 2
Joined: Mon Apr 02, 2007 8:32 am

Problems after installing the Attachment mod

Post by yssaril »

i am not quite sure what is going on on my forums

i installed the attachment mod following every step and double checking everything but i have three problems

1. I can only see the attachment menu when sending a PM
2. When i post something i get this error

Code: Select all

Fatal error: Call to a member function on a non-object in .../forum/posting.php on line 593
3. When i try to preview my post i get this error

Code: Select all

Fatal error: Call to a member function on a non-object in .../html/forum/posting.php on line 728
i have attached the posting.php file as txt file

Yssaril
Attachments
posting.txt
(34.73 KiB) Downloaded 319 times
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Post by DavidIQ »

You missed this edit:

Code: Select all

# 
#-----[ FIND ]---------------------------------------------
# around line 422
$attach_sig = ( $submit || $refresh ) ? ( ( !empty($HTTP_POST_VARS['attach_sig']) ) ? TRUE : 0 ) : ( ( $userdata['user_id'] == ANONYMOUS ) ? 0 : $userdata['user_attachsig'] );

# 
#-----[ AFTER, ADD ]--------------------------------------- 
# 
execute_posting_attachment_handling();
yssaril
Posts: 2
Joined: Mon Apr 02, 2007 8:32 am

Post by yssaril »

i feal stupid :oops: :oops: i must have checked my edits on that file 5-6 times and i kept missing it /sigh thanks man it works perfect now
Locked