Attachment Mod

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
2035
71%
Very Good
444
16%
Good
175
6%
Fair
54
2%
Poor
156
5%
 
Total votes: 2864

msteinhoff
Registered User
Posts: 11
Joined: Mon Sep 26, 2005 1:23 pm

Fatal error

Post by msteinhoff » Mon Sep 26, 2005 4:22 pm

I am running PhBB 2.0.17 and applying version 2.3.14 of this mod. Everyting appears to work great until I submit the post then I receive this error:

Fatal error: Only variables can be passed by reference in c:\Inetpub\wwwroot\phpBB2\posting.php on line 555

I checked the install text, and aas far as I can tell this is not an updated entry.

Thanks in advance.

Toribev
Registered User
Posts: 9
Joined: Sat Mar 06, 2004 3:37 am

Post by Toribev » Mon Sep 26, 2005 5:20 pm

Cherokee Red.. I wanted to say thank you!

Everything is working perfectly now.

:D Tori

User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Post by stickerboy » Mon Sep 26, 2005 6:02 pm

To Toribev and chmartin1
you're most welcome, but i cannot accept any money for this.
1. i don't have paypal :P
2. I prefer doing thwork forfree. more gratifying :wink:
like phpBB - my support is free

msteinhoff
sounds like you are running php 5.x
if you are, that could be your problem. you might have to ask your host to downgrade you to 4.x.
Have a look here though - http://phpbb-php5mod.sourceforge.net/ :wink:
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red

krystian_pl
Registered User
Posts: 5
Joined: Sun Sep 25, 2005 11:24 pm
Contact:

Post by krystian_pl » Mon Sep 26, 2005 6:04 pm

Cherokee Red:
Maybe You happen to know how to solve this one?

krystian_pl wrote: Hi

i've got a small prob. with this mod.
After uploading it to a new isp i have such an error:
Fatal error: Cannot redeclare class attach_parent:attach_pm in /attach_mod/pm_attachments.php on line 32


I've searched a little bit on google and have found in this topic a solution: to change function name from attach_pm to attachPM. And so i did.
After that, there is another error which i have no clue how to solve:
Fatal error: Cannot redeclare execute_privmsgs_attachment_handling() in /attach_mod/pm_attachments.php on line 274


The php on the server is a latest 4 release.

Could sb tell me what to do and why did i change the function name?

Best regards
:)

User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Post by stickerboy » Mon Sep 26, 2005 6:36 pm

krystian_pl
i'm stumped. i've looked everywhere i can think of for an answer, but i can't see anything.
Do you have any other MODs on your board?
If you don't - i'd be happy to try installing it again. but only if you have no other MODs. :)

Maybe someone else might know. :?:
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red

krystian_pl
Registered User
Posts: 5
Joined: Sun Sep 25, 2005 11:24 pm
Contact:

Post by krystian_pl » Mon Sep 26, 2005 6:41 pm

cherokee red wrote: krystian_pl
i'm stumped. i've looked everywhere i can think of for an answer, but i can't see anything.
Do you have any other MODs on your board?
If you don't - i'd be happy to try installing it again. but only if you have no other MODs. :)

Maybe someone else might know. :?:


Hi

Thank You for a quick answer
Unfortunately there are other mods but i can think of no way they could interfere with this one... I've searched the web for an answer and nothing..

Best thing is, that this board worked just fine on a previos server and now there are such problems...

I't not my board and i did not install it, i am just helping as no one knows what could this be.

I am not that familiar with phpbb and i have no idea about how could this interfere with other hacks [damn... i don't even have a clue what other hacks there are, but looking at the board i can see there is something ;] ]

Big thx again, and if You find something that could help me please post it here.

Best regards
:)

BabyLove
Registered User
Posts: 59
Joined: Tue May 20, 2003 1:19 pm
Location: slovenia / ljubljana
Contact:

Post by BabyLove » Mon Sep 26, 2005 7:11 pm

Hey, i'm having huge problems for a few 3 months now.
i have a big student forum, with lots of files for downloading. (study material)

Nobody can download them correctly, cuz when they click download they get "download.php" file instead of the "name.zip" file !!!! It works in mozilla, they can get the .zip file, but in IE it doesn't work.

what can i do to fix this and how? Please help i need to resolve this, plz :?
Lana aka BabyLove
www.fu-student.com

krystian_pl
Registered User
Posts: 5
Joined: Sun Sep 25, 2005 11:24 pm
Contact:

Post by krystian_pl » Mon Sep 26, 2005 7:28 pm

BabyLove: i balieve that all they have to do is rename the download.php file
i've got such a problem when using 3rd party download managers

Best regards
:)

Steve F
Registered User
Posts: 55
Joined: Sat Jul 30, 2005 8:51 pm
Location: USA

Post by Steve F » Mon Sep 26, 2005 8:23 pm

I just ran into a bit of a problem with stream attachment type. Everything is working fine. I am running Windows 2003, IIS6, mssql2000

I setup my webserver on the D: volume. I put the attachment directory on the E: volume because it has the most free disk space. The attachmod configuration is okay with absolute directory path on another volume for most extension types. On streams though it tries to provide the absolute path back to the browser and the website is not configured to 'see' that path and it seems that streams require it. I tried setting a virtual directory to the E: volume which IIS6 would be okay with, but attachmod doesn't like it.

Other than moving my whole website to the E: drive, is there any other possible solution?

...

I found that windows has the equivalent of symlink. They gave it weird names but the effect is the same. The programs LinkD.exe or fsutil can be used to manage them. www.sysinternals.com has a better program called junction.exe . I set up a symlink of my E: volume attachment directory onto the website directory and streams work great. I didn't want to have the attachments directory visible off the website but streams are more important at this time.
Last edited by Steve F on Tue Sep 27, 2005 12:49 am, edited 1 time in total.

Kardinal2
Registered User
Posts: 2
Joined: Mon Jan 07, 2002 4:01 pm

An observation & a question...

Post by Kardinal2 » Mon Sep 26, 2005 11:33 pm

Observation: When loading attachments, and previewing, the order listed is always the last one loaded at the bottom of the list. This seems to ignore the 'Ascending / Descending' option as defined in the ACP. Is this behaving as designed?

Question: Is there a way to have the attachment frame appear in-line with the message body text (eg perhaps via a BBCode)? I find that when I need to have in-line graphics (ie text, image, text, image, text), I have to manually upload through FTP, and then reference the link as an <IMG> tag, rather than as an attachment, where al the images would be loaded at the bottom of the message.

I hope I have posted this in the correct area.

Many thnks..

User avatar
ShadowKnyght
Registered User
Posts: 73
Joined: Mon Aug 30, 2004 1:20 am
Contact:

Post by ShadowKnyght » Tue Sep 27, 2005 12:38 pm

Ok I have had a stable forum for ages...

I have the file attachment hack "Attachment Mod Version 2.3.14" ( http://www.phpbbhacks.com/viewhack.php?id=251 ) installed and it has been working fine. board version 2.0.11

Last night I installed these hacks:

Karl Tauber's Change Style Hack
http://ktauber.com/phpBB2mods/change_style/

Style Under Username
http://www.phpbbhacks.com/download/552

These work very well indeed... but...

Now the attachments no longer display within posts... the uploading still works and no error messages appear - they are just not shown where they are supposed to appear anymore - {postrow.ATTACHMENTS}

Anyone aware of any potential conflicts and ways around them when using these hacks?

I like them both very much so want to keep them so work arounds are preferred to just comments like remove one or the other...

already changed the 's=' to 'style=' had no effect...

Help please

http://www.cyber-mag.com/phpBB2/index.php
Image

Kardinal2
Registered User
Posts: 2
Joined: Mon Jan 07, 2002 4:01 pm

Another Observation/Question

Post by Kardinal2 » Tue Sep 27, 2005 2:56 pm

Regarding the 'Upload New Version' button in the Posted Attachments section: Can I please clarify - if I select this button, then the same filename referenced from the original location that the file was loaded from (ie my desktop) should upload the updated file keeping the same filename on the forum server? I ask as I am experiencing a problem whereby the file on the forum is noting being updated, ie it is the same original file. There are not obvious messages or dialogs from PHPBB.

Troyster
Registered User
Posts: 38
Joined: Wed Mar 16, 2005 11:14 pm

Post by Troyster » Tue Sep 27, 2005 6:36 pm

I've been working on a clean setup from my develop_html folder...

When I try to run the attach mod install I get this error: Critical Error: Cannot connect to database

Working in my develop_html (not public, which installs just fine)...

This is when trying to run: mod_table_inst.php

Yes, it's in the right directory and, as mentioned works fine when installed and run from public_html directory.

Any suggestions?

T

Klankster
Registered User
Posts: 4
Joined: Tue Sep 27, 2005 10:10 pm
Contact:

Post by Klankster » Tue Sep 27, 2005 10:38 pm

Wow, I just added the Attachment mod to my board and it is awesome! Worked right off the bat.

For those of you who are worried about getting it to work, just FOLLOW THE INSTRUCTIONS CAREFULLY.

I can't express how impressed I am with the quality of this kind of mod.

THANK YOU Acyd Burn!! :D

User avatar
ShadowKnyght
Registered User
Posts: 73
Joined: Mon Aug 30, 2004 1:20 am
Contact:

Post by ShadowKnyght » Wed Sep 28, 2005 5:42 am

Grrr - this is becoming frustrating - The attachments are visible in topic review (posting_topic_review.tpl) when posting a reply, they are also visible in topic preview (posting_preview.tpl) when editing and previewing prior to submitting... the uploading of new attachments still works...

but even with all the style changes removed from viewtopic.php they attachments are still not showing in the topic itself????

Just does not seem to make sense... I can't see what is being used on the viewtopic_body.tpl that would make this fall over only in the final display instance and not anywhere else - the mod works 100% except in display....

especially as when all style change mod changes are removed from the viewtopic_body.tpl file it still fails to work? when it did before and still does in preview and review HUH?

My confusion is that every other change made by these mods would appear to have to effect all instances not just some... i.e. changes to constants.php, page_header.php, overall_header.tpl, functions.php etc are universal I thought and if a conflict existed then the attachement mod should fail where ever and when ever it is called - but it doesn't....
Image

Post Reply

Return to “[2.0.x] MOD Database Releases”