Author |
Topic  |
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 11 May 2013 : 12:26:07
|
You can modify the admin_mod_dbsetup.asp file to not check for forum_admin just to install this mod. It's not safe to leave it like that, though.
To do this, look for these lines (appx 53-70), and comment them out or delete them:
|
 |
|
Zenfor
Junior Member
 
372 Posts |
Posted - 11 May 2013 : 21:19:43
|
Thanks, will try when I get a chance. |
 |
|
Zenfor
Junior Member
 
372 Posts |
Posted - 11 May 2013 : 21:45:33
|
With that change, I was able to run the Mod setup and I still have problems, appreciate any help. This is getting very frustrating, sorry.
This is the result:
New Events Calendar Mod (Recurring Dates) for Snitz 3.4.05
Dropping Column... ALTER TABLE FORUM_TOPICS DROP COLUMN T_ISEVENT ALTER TABLE FORUM_TOPICS DROP COLUMN T_ISEVENT -2147217900 | There is no field named 'T_ISEVENT' in table 'FORUM_TOPICS'.
Dropping Column... ALTER TABLE FORUM_A_TOPICS DROP COLUMN T_ISEVENT ALTER TABLE FORUM_A_TOPICS DROP COLUMN T_ISEVENT -2147217900 | There is no field named 'T_ISEVENT' in table 'FORUM_A_TOPICS'.
Adding Column F_ALLOWEVENTS... ALTER TABLE FORUM_FORUM ADD COLUMN F_ALLOWEVENTS int NULL DEFAULT 1 Column added successfully UPDATE FORUM_FORUM SET F_ALLOWEVENTS=1 Populating Current Records with new Default value Table(s) updated
Creating table(s)... CREATE TABLE FORUM_CAL_EVENTS( TOPIC_ID int NOT NULL , EVENT_DATE varchar(50) NOT NULL ) Table created successfully
If there were errors please post a question in the MOD Implementation Forum at Snitz Forums =======================================
This is what I still get when I run the forum:
May 2013 Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument: 'WeekDayName'
/forum_new/cal_functions.asp, line 45 |
 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 12 May 2013 : 00:40:58
|
Let's do a quick test, shall we?
Above line 44 (For i = 1 to 7), insert these two lines, then try the forum again. It'll print out two lines and stop. Report the results here, then you can delete those two lines.
Response.Write dayofWeek & "=dayofweek<br />" & intCalFirstDayofWeek & "=intCalFirstDayofWeek<br />"
Response.End
|
 |
|
Zenfor
Junior Member
 
372 Posts |
Posted - 12 May 2013 : 18:56:46
|
quote: Originally posted by Carefree
Let's do a quick test, shall we?
Above line 44 (For i = 1 to 7), insert these two lines, then try the forum again. It'll print out two lines and stop. Report the results here, then you can delete those two lines.
Response.Write dayofWeek & "=dayofweek<br />" & intCalFirstDayofWeek & "=intCalFirstDayofWeek<br />"
Response.End
May 2013 -1=dayofweek =intCalFirstDayofWeek
Thank you! |
 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 13 May 2013 : 04:53:09
|
Ok the issue seems to lie in "cal_config.asp". Look at line 65 and see what it is set to. The default value = 1 (first day of week = Sunday). Your value seems to equal 0. You may not have loaded "cal_config.asp", it should be called as an included file within "config.asp". |
Edited by - Carefree on 13 May 2013 04:55:07 |
 |
|
Zenfor
Junior Member
 
372 Posts |
Posted - 13 May 2013 : 06:55:03
|
quote: Originally posted by Carefree
Ok the issue seems to lie in "cal_config.asp". Look at line 65 and see what it is set to. The default value = 1 (first day of week = Sunday). Your value seems to equal 0. You may not have loaded "cal_config.asp", it should be called as an included file within "config.asp".
IT'S WORKING!!
I will do more testing on it today, thank you all for your help. |
 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 13 May 2013 : 12:35:22
|
You're welcome again. |
 |
|
Topic  |
|