Page 753 of 1475

Posted: Thu Oct 13, 2005 1:11 am
by Nitrocharged
My own server.
I tried both the easymod way last night and this morning tried the manual install using the premodded scripts. (which again gave the same error - something about line 290 on an include script - sorry for not saving it)

I am now wiping out and reinstalling again to try the manual script change and upload method of step III to see if that one works.

Yes the forum was a fresh install and it worked fine. Thanks for replying so fast and good input :)

Re: OH MY GOD IT WORKED!

Posted: Thu Oct 13, 2005 2:14 am
by Nitrocharged
illconcepts wrote: wow! 8O 8O im sooo shocked. this is the first of many mods that i have gotten to work.

@ IFATCA and BsK_sToRm.
if you were having the same problems as me i can tell you how to fix it.
origionally, i only uploaded the files in the contrib/php_attach_mod directory. you need to upload those, but theres more. you want to upload all the files and directories in attach_mod/root and attach_mod/scripts to your web server. once all the files are uploaded, run mod_table_install.php. now, when that loads, check to make sure that everything is working by checking the to see if in green the word completed is there. then delete the directory and happy uploading! if your still having problems with this, feel free to PM me.

wow, i never thought id see the day where id be helping any one with php.

cheers! ...Posted: Sat Mar 15, 2003


Sheesh ...over 300 posts later I see this - there was no mention of uploading contents of the script folder to the server in the install.txt file.
Guess I'll try this too.... take 4 here we come... :roll:

Posted: Thu Oct 13, 2005 2:50 am
by Nitrocharged
Ok - I did a manual install but used the premodded scripts. The forum still works this time so those scripts folder content must be the factor but the Admin attach_mod areas don't work and the function to add attachments doesn't appear in the main forum to allow to attach etc.

Logging into admin and selecting the following is giving these results:

Click on: Manage Attachments > Control Panel - Fatal error: Call to undefined function: get_var() in /home/nitro1/public_html/forum/admin/admin_attach_cp.php on line 62
Click on: Manage Attachments > Management - screen appears with no text anywhere ...borders tables etc can be seen but no content
Click on: Manage Attachments > Quota limits - same no text screen
Click on: Manage Attachments > Shadow attachments - I see all the root files in a list
Click on: Manage Attachments > Sync attachments - has these 3 lines of text on the page:
Sync Topics
.


Sync Posts


Sync Thumbnails


Click on: Extensions > Extension control - borders windows boxes but no text anywhere on page
Click on: Extensions > Extension group manage - Fatal error: Call to undefined function: get_var() in /home/nitro1/public_html/forum/admin/admin_extensions.php on line 539
Click on: Extensions > Forbidden extensions - no text again
Click on: Extensions > Special categories - Fatal error: Call to undefined function: is_imagick() in /home/nitro1/public_html/forum/admin/admin_attachments.php on line 874



Anyone shed light on this new set of problems please?

Posted: Thu Oct 13, 2005 12:30 pm
by fazaljatoi

Could not query attachment information

DEBUG MODE

SQL Error : 1146 Table 'apnajatoiforum.phpbb_attachments_config' doesn't exist

SELECT * FROM phpbb_attachments_config

Line : 80
File : attachment_mod.php


HELP ME SOLVE MY PROBLEM

Posted: Thu Oct 13, 2005 4:23 pm
by MrBad
Guys!
i am trying to install this MOD for 5th time... i am sure about i am doing everything OK. same bug all time.

please explain me which file is responsible for displaying attachments in viewtopic?

is it possible, that my style use a different constants comparing to subsilver?
maybe i have to correct those files wich is not moderable (just upload), like subSilver/viewtopic_attach_body.tpl ?

DEBUG

Posted: Thu Oct 13, 2005 7:54 pm
by bbvic
I have errors

Would you please help how to fix those?

-----------------------------------------------------------
Fatal error: Call to undefined function get_var() in W:\www\phpBB2\admin\admin_attach_cp.php on line 62

-----------------------------------------------------------
Could not find Attachment Config Table

DEBUG MODE

SQL Error : 1146 Table 'solidyne.phpbb_attachments_config' doesn't exist

SELECT * FROM phpbb_attachments_config

Line : 126
File : admin_attachments.php

Posted: Thu Oct 13, 2005 8:23 pm
by babydoll2u
Oh Lord... I'm not sure if I want to use this mod or not... I need it... I want it!!! But, 753 pages of problems... yikes! :(

Posted: Thu Oct 13, 2005 9:56 pm
by The Gare
This is a fairly easy MOD to add. I updated from 2.0.16 to 2.0.17. Of course afterward, it did not work. I had to re-do the MOD from scratch, but it really does not take that long. Just make sure you do ALL of the steps. If you are using the SubSilver template, there are pre-modified files that you only need to copy over and overwrite. All other templates you will have to do all by hand. I wish someone had pre-modded files for the Cobalt style, that one rocks.

Anyone have pre-modded files for the Cobalt Style????? 8O

P.S. And just to add, this is a GREAT MOD! There are 753 pages of people who usually did not follow the steps exactly and it is almost always something that you end up missing or over looking. I know I did several tiomes before I finally got it right. I have re-done it twice now and it really was not that bad.

Posted: Thu Oct 13, 2005 10:52 pm
by Steve F
I started by adding this mod to a bare 2.0.17 test board. The board is installed on w2k3, IIS6, sql2k, php4. I use EasyMOD. I only have SubSilver template.

I had one, well documented error where unset($delete_type); no longer has a closing brace right after it. I put the [ AFTER, ADD ] code right after the unset function call. Mine works. Someone else put the [ AFTER, ADD ] code after the brace in its new location (on 2.0.17 I guess) and his worked too. Go figure.

I copy all the files and directories in attach_mod/root to my phpbb root directory. Point my browser to http://website/install/mod_table_inst.php to get the sql tables set up. Run EasyMod on attach_mod's install.txt (which had the one change for the unset function call), then go in admin and configure the attachment settings.

I also add the following configuration settings to php.ini

max_execution_time = 300 ; Maximum execution time of each script, in seconds
max_input_time = 600 ; Maximum amount of time each script may spend parsing request data
memory_limit = 32M ; Maximum amount of memory a script may consume (8MB)
post_max_size = 32M
upload_max_filesize = 32M

Although max_input_time=600 is probably too much time on faster networks and no where near enough on dialup, I've left it at that until I can test the actual upload throughput. Having the max_execution_time half of max_input_time seems silly and I will change mine when I understand better what they should actually be. The other three are critically important as the default is 2m. When was the last time you saw anything on windows less than 2m?

Having AttachMod on my board has made the difference for my users where without it the board would be mostly usless. With AttachMod my users are very happy to be able to share files.

Oh, another thing, even though my board is closed to public, I run McAfee virus scanner on my server. I tested attachmod by uploading the eicar virus scanner test suite. I get an error from attachmod that the file can't be found after uploading. Of course this is true because McAfee caught it and moved it to quarantine. I wish attachmod had a different error message for this case. I know I'll have to write my own interface so if someone actually does upload a virus infected file, attachmod should at least warn them why the upload actually failed. I'll work on that another day.

Posted: Thu Oct 13, 2005 11:31 pm
by Nitrocharged
SteveF wrote: I started by adding this mod to a bare 2.0.17 test board. The board is installed on w2k3, IIS6, sql2k, php4. I use EasyMOD. I only have SubSilver template.

I had one, well documented error where unset($delete_type); no longer has a closing brace right after it. I put the [ AFTER, ADD ] code right after the unset function call. Mine works. Someone else put the [ AFTER, ADD ] code after the brace in its new location (on 2.0.17 I guess) and his worked too. Go figure.

I copy all the files and directories in attach_mod/root to my phpbb root directory. Point my browser to http://website/install/mod_table_inst.php to get the sql tables set up. Run EasyMod on attach_mod's install.txt (which had the one change for the unset function call), then go in admin and configure the attachment settings.


You say that but even your post misses the fact that the scripts files need to be uploaded. Noone mentions this!!!
I am going to try a manual install today and hand code in the changes on v2.0.17 - if it fails again - I'll give up. Help on this board seems to have dried up unfortunately, and the only suggestions have been - yo're doing it wrong. Well, I have NOT seen a correct step by step method of doing it right. Even the install.txt file is wrong as it misses the fact that the scripts folder contents mut be uploaded. Positive help would really be appreciated guys :)

Posted: Thu Oct 13, 2005 11:56 pm
by Peter77s
Great MOD!!

Posted: Fri Oct 14, 2005 12:05 am
by stickerboy
Nitrocharged wrote: You say that but even your post misses the fact that the scripts files need to be uploaded. Noone mentions this!!!
I am going to try a manual install today and hand code in the changes on v2.0.17 - if it fails again - I'll give up. Help on this board seems to have dried up unfortunately, and the only suggestions have been - yo're doing it wrong. Well, I have NOT seen a correct step by step method of doing it right. Even the install.txt file is wrong as it misses the fact that the scripts folder contents mut be uploaded. Positive help would really be appreciated guys :)

Dude,you don't need the scripts folder. Read the text file inside it to find out why it's there :wink:
Make sure your language files were correctly modified and also look here -> http://opentools.de/board/viewtopic.php?t=1848

Posted: Fri Oct 14, 2005 12:08 am
by stickerboy
fazaljatoi and bbvic
You both need to run teh mod_table_install.php file that came with this MOD. Your database has't been updated yet :wink:

Posted: Fri Oct 14, 2005 12:29 am
by Nitrocharged
Thanks Cherokee :)
I'll do it based on the link content you supplied and see how I go.
I will post my results. I appreciate your help. :D

Gimme a while as I have to do some other work tasks before getting back to this mod.

Posted: Fri Oct 14, 2005 12:52 am
by babydoll2u
unfortunately I don't have a clean board... I have version 2.0.17, but I have alot of mods/hacks installed, and am running a custom-made style. So I'm assuming it's going to be alot more difficult to install this mod on my forum..... grrrrrrrrrrrrrr