Page 1 of 1

A few problem along the way.....

Posted: Tue Mar 06, 2007 8:21 am
by popcap
i have a few problem with attachment mod,

first, a little about my web hosting,

i'm hosting it at my company with an internet line out to the web.
so it dont have a cpanel or what ever you will do with a ftp uploader because
i can just copy it and modified it on the spot.

using phpbb 2.0.2.2

the problem,

everything work just fine except when you try to attach a file all i get is a new page of information with "No post mode specified".
any idea?

and user cant even upload, it just show "Sending request to -----.com"
for ages.....

and how do i fill in the detail at the admin management panel?

do you need an error log or something?
because i have no idea how to get those....

thank's
regard, popcap

Posted: Tue Mar 06, 2007 9:45 am
by DavidIQ
How did you install this mod?

Posted: Tue Mar 06, 2007 10:50 am
by popcap
well, since it's still in so call vanilla state, so..... all i have to do is follow the instruction for premodded forum

Posted: Tue Mar 06, 2007 10:54 am
by DavidIQ
Right...so you have downloaded the premodified files from here then and applied them to your forum replacing your files with the included modified ones?

Posted: Tue Mar 06, 2007 10:58 am
by popcap
i downloaded the attachment mod from phpbb.com

found out that i have 2.0.2.2 and not 2.0.2.1
did a search found one for 2.0.2.2
replace it by over writing everything
except i'm using a different theme so i copy from subsilver to the other theme
but that was after i install it by running the install.php in the mod.

Posted: Tue Mar 06, 2007 11:03 am
by DavidIQ
Unless you used the premodified files from here I can't offer you support since I have no idea where you got the premodified files from nor what that other place did to the files.

Plus templates sometimes differ astronomically from subSilver so replacing your template's files with some subSilver ones will could cause you problems.

Posted: Tue Mar 06, 2007 11:04 am
by popcap
yup i got it off here,

and this pop outta no where

Couldn't insert row in forums table

DEBUG MODE

SQL Error : 1364 Field 'forum_posts' doesn't have a default value

INSERT INTO phpbb_forums (forum_id, forum_name, cat_id, forum_desc, forum_order, forum_status, prune_enable, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_sticky, auth_announce, auth_vote, auth_pollcreate, auth_attachments, auth_download) VALUES ('5', 'Spamming', 2, '', 20, 0, 0, 0, 0, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1)

Line : 401
File : admin_forums.php

*sign*


Error in posting

DEBUG MODE

SQL Error : 1364 Field 'topic_views' doesn't have a default value

INSERT INTO phpbb_topics (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('po', 2, 1173197271, 1, 0, 0, 0)

Line : 227
File : functions_post.php


oh i think i solve why it cant upload, i change it back to subsilver and it work?

now, i just cant post......

Posted: Tue Mar 06, 2007 11:16 am
by DavidIQ
That error has to do with your database and it could be a number of things EXCEPT this mod. According to the database schema for a standard phpBB installation the forum_posts column has a default of 0 integrated to the table itself so either this property was dropped or the forum was not installed properly (though this might not be possible if you've already added other forums).

My guess is that your post mode not specified error has something to do with your replacing of your template files with the subSilver ones. See this for the correct way to install on a different template:
viewtopic.php?t=5

Posted: Tue Mar 06, 2007 11:27 am
by popcap
yup they are all in there, and never have a problem creating forum before

since i can upload file in i cant post.....

guess i'll do a clean installation and reinstall everything and see if the same thing pop up because i install this mod.

Posted: Tue Mar 06, 2007 11:31 am
by DavidIQ
You may need to redo the forum or edit the columns giving you problems directly in the database setting their default values to 0.

Posted: Tue Mar 06, 2007 11:40 am
by popcap
ya i just relis that, the sql is down?! again?! wdf..... if only it has support for firebird.

hmm, nothing went wrong untill i apply the mod....

Posted: Tue Mar 06, 2007 1:32 pm
by popcap
solve it, k thank's for your help.

it was just something interfering with the sql database

and again, thank's for your time.

Posted: Tue Mar 06, 2007 1:49 pm
by DavidIQ
Glad you got it resolved.