Naz Staff member Sep 24, 2018 #2 Use the file(s) in here. I imagine you've already got some vB redirects so you can skip 301config.php and just upload calendar.php. If you've got a different import log, put the following on line 2 of calendar.php where import_log_x is the appropriate import log: Code: define('IMPORT_LOG_TABLE', 'import_log_x'); Attachments NixFifty_Calendar-vBRedirects.zip 1.3 KB · Views: 1
Use the file(s) in here. I imagine you've already got some vB redirects so you can skip 301config.php and just upload calendar.php. If you've got a different import log, put the following on line 2 of calendar.php where import_log_x is the appropriate import log: Code: define('IMPORT_LOG_TABLE', 'import_log_x');
Alpha1 Sep 24, 2018 #4 I added to line 2: define('IMPORT_LOG_TABLE', 'archived_import_log'); But it doesnt work. /forum/calendar.php redirects to domain root.
I added to line 2: define('IMPORT_LOG_TABLE', 'archived_import_log'); But it doesnt work. /forum/calendar.php redirects to domain root.
Naz Staff member Sep 24, 2018 #5 ALfa1 said: I added to line 2: define('IMPORT_LOG_TABLE', 'archived_import_log'); But it doesnt work. /forum/calendar.php redirects to domain root. Click to expand... Is that the archived import log for your events though? I.e. does this return anything: Code: select * from archived_import_log where content_type = 'nf_calendar_event' limit 1
ALfa1 said: I added to line 2: define('IMPORT_LOG_TABLE', 'archived_import_log'); But it doesnt work. /forum/calendar.php redirects to domain root. Click to expand... Is that the archived import log for your events though? I.e. does this return anything: Code: select * from archived_import_log where content_type = 'nf_calendar_event' limit 1
Alpha1 Sep 24, 2018 #6 You are right. I have corrected this, but no dice. I changed it to: archived_import_log_calendar_vb But no working redirects. I use centminmod and PHP 7.1 btw.
You are right. I have corrected this, but no dice. I changed it to: archived_import_log_calendar_vb But no working redirects. I use centminmod and PHP 7.1 btw.
Naz Staff member Sep 24, 2018 #7 Weird, works ok on my end. I've made a small tweak to calendar.php. Try this one. Also make sure there's actually event import records in that table. If there aren't, you'll get kicked to forum root as expected. Attachments NixFifty_Calendar-vBRedirects.zip 1.3 KB · Views: 1
Weird, works ok on my end. I've made a small tweak to calendar.php. Try this one. Also make sure there's actually event import records in that table. If there aren't, you'll get kicked to forum root as expected.
Alpha1 Sep 24, 2018 #8 No dice. There are records in the table. Did you test for the main calendar page or only for event urls?
No dice. There are records in the table. Did you test for the main calendar page or only for event urls?
Naz Staff member Sep 24, 2018 #9 ALfa1 said: No dice. There are records in the table. Did you test for the main calendar page or only for event urls? Click to expand... Ah, are you not trying event urls? I suppose it makes more sense to redirect to the calendar page itself rather than forum root. If you are trying event urls, what do they look like? Mine were like this: calendar.php?do=getinfo&e=1&day=2018-7-24 I don't recall another format but it's been years. Attachments NixFifty_Calendar-vBRedirects.zip 1.3 KB · Views: 1
ALfa1 said: No dice. There are records in the table. Did you test for the main calendar page or only for event urls? Click to expand... Ah, are you not trying event urls? I suppose it makes more sense to redirect to the calendar page itself rather than forum root. If you are trying event urls, what do they look like? Mine were like this: calendar.php?do=getinfo&e=1&day=2018-7-24 I don't recall another format but it's been years.
Naz Staff member Sep 24, 2018 #11 ALfa1 said: Still no luck for /forum/calendar.php to /events/ Click to expand... Do you have an opcache? If so, flush that.
ALfa1 said: Still no luck for /forum/calendar.php to /events/ Click to expand... Do you have an opcache? If so, flush that.