Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.28.5, csv import, extension
- This topic has 9 replies, 2 voices, and was last updated 7 years, 9 months ago by
Steven Zahm.
-
AuthorPosts
-
10/27/2018 at 5:06 pm #475878
Michael Fahey
Guest10/27/2018 at 6:10 pm #475898Steven Zahm
Keymaster@ Michael
Sorry to hear your are having trouble!
The message is blank. Could you provide more details? At what point are you getting the page not found error?
10/27/2018 at 6:39 pm #475900Michael Fahey
GuestFile to import is CSV exported from Connections Business Directory version 8.28.4.
CSV file is selected, all fields map to their identical named field automagically, then the import fails with “Page Not Found” and the following URL sierraviewcc.org/wp-admin/admin.php?page=connections_csv&action=import
I have already reset permalinks, twice, no change.
No new entries are generated in error_log or wp-admin/error_log, however the error_log in the plugin directory has the following entry:
[27-Oct-2018 16:56:24 America/New_York] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/sierbctp/public_html/wp-content/plugins/connections-csv/connections_csv.php:785
Stack trace: 0 {main} thrown in /home/sierbctp/public_html/wp-content/plugins/connections-csv/connections_csv.php on line 785
versions
- Connections Business Directory version 8.28.5
- Connections Business Directory Extension – CSV Import 2.0.1
- Connections Business Directory Template – cMap 5.3.1 (displays warning that license activation limit is reached, even with fresh key).
Thanks for your help.
10/27/2018 at 6:39 pm #475901Michael Fahey
GuestApologies for the blank post.
I included a link, and your forum software marked it as spam, then gave me a long timeout before I could post again.10/27/2018 at 8:52 pm #475905Steven Zahm
Keymaster@ Michael
The
Call to undefined function add_action()does not make sense. That is a core WP function. If CSV Import is being loaded, it has to exist. It can only be loaded if WP is loaded.My best guess is something else with in the WP install has hijacked the
action=importquery very, very, early is the WP loading process without checking which page is doing the calling.I’m going to have to suggest doing the plugin conflict test. It also possible that the theme is the source of the issue.
In regards to the license key, what is the key? I’ll look it up. what site are you trying to activate it on? Reply back as a private reply.
11/01/2018 at 1:02 pm #476191Michael Fahey
GuestApologies for the long delay, had the flu!
I was also surprised by that add_action() error. I’ve published a few plugins too, when I saw that error I thought “?!?”. Funny thing #2. I can’t reproduce it. It seems to have been a one-time fail, have no explanation. No logged errors are being generated now.
I attempted to run the import a couple more times to gather more info, watched the URL as I did so, noticed that connections_csv.php works just fine until action=import, then suddenly it’s “page not found”.
I already did a test with all plugins turned off except Connections and the CSV importer, same results.
I haven’t done the theme-change test yet because it’s a production site, not mine, don’t want to have to fail-back to backup-DB if the customizer decides to forget every single setting during theme change (as I’ve seen so many times.)
What I will do now is mirror the site to a dev copy on my hosting, and do the theme test there.
Thanks for your help.
11/01/2018 at 1:07 pm #476192Michael Fahey
GuestThis reply has been marked as private.11/01/2018 at 1:34 pm #476193Steven Zahm
Keymaster@ Michael
RE: I attempted to run the import a couple more times to gather more info, watched the URL as I did so, noticed that connections_csv.php works just fine until action=import, then suddenly it’s “page not found”.
A method I used… download the theme and plugins folder and load them into Sublime Text. You can search all folders at once for a text string. Search for
template_redirect. This could potentially yield a lot of results but it should be easier to scan. See if any results are triggered by a$_GET['import']or$_REQUEST['import].You could also do a search for
'import'and see if anything jumps out at you.In regards to the license, navigate to the Connections : Settings admin page and cick the Licenses tab. You can activate it there.
Hope this helps!
11/01/2018 at 5:55 pm #476233Michael Fahey
GuestGot copy running on hosting dev.
Set theme to TwentySeventeen.
Deleted all other themes.
Deleted all non-Connections plugins.
Bare-bones .htaccess (below)
Same results.
Thinking problem must be CSV file?
It’s an export from Connections Version 8.28.4
(.htaccess)
1 # BEGIN WordPress
2 <IfModule mod_rewrite.c>
3 RewriteEngine On
4 RewriteBase /sierraviewcc.dev/
5 RewriteRule ^index.php$ – [L]
6 RewriteCond %{REQUEST_FILENAME} !-f
7 RewriteCond %{REQUEST_FILENAME} !-d
8 RewriteRule . /sierraviewcc.dev/index.php [L]
9 </IfModule>
10 # END WordPress
11/02/2018 at 9:50 am #476258Steven Zahm
Keymaster@ Michael
RE: Thinking problem must be CSV file?
By the time you get to the import step, the file has already been uploaded and converted to batched JSON files. YOu should find these in this folder:
../wp-content/uploads/csv_filesAre they there?
You could also try uploaded the file renamed from
.csvto.txt.If you want, attached the CSV file you are trying to import and reply back with a WP admin and FTP login, as a private reply, and I’ll take a look.
-
AuthorPosts
- You must be logged in to reply to this topic.
