[Plugin: Supra CSV Importer] Localhost errors
-
Hi,
It looks like a great plugin, but it’s not working on localhost for me. It’s most likely a path issue, but I can’t figure it out. Have you used it on localhost?Activation is successful, but if I try to go to any of the menu items of the plugin, I get this some code echoed on the top of the screen:
dbal = new SupraCsvDBAL(DB_NAME,DB_HOST,DB_USER,DB_PASSWORD); $this->plugin = new SupraCsvParser_Plugin(); } public function getPresetsTable() { return $this->plugin->getPresetsTable(); } public function getPluginDirUrl() { return WP_PLUGIN_URL . '/' . $this->plugin_name .'/'; } public function getCsvDir() { return WP_CONTENT_DIR . '/uploads/' . $this->plugin_name .'/'. 'csv' . '/'; } public function getCsvDirUrl() { return WP_CONTENT_URL . '/uploads/' . $this->plugin_name .'/'. 'csv' . '/'; } }
And also these PHP errors on the same screen:
Fatal error: Class 'SupraCsvPlugin' not found in C:\wamp\www\dev.theguitarlesson.com\wp-content\plugins\supra-csv-parser\supra_csv_admin.php on line 5 Call Stack # Time Memory Function Location 1 0.0015 788864 {main}( ) ..\admin.php:0 2 0.4757 38354544 do_action( ) ..\admin.php:151 3 0.4757 38356272 call_user_func_array ( ) ..\plugin.php:403 4 0.4757 38356352 SupraCsvParser_Plugin->scsv_admin( ) ..\plugin.php:403 5 0.4762 38388880 require_once( 'C:\wamp\www\dev.theguitarlesson.com\wp-content\plugins\supra-csv-parser\supra_csv_admin.php' ) ..\SupraCsvParser_Plugin.php:81
The file it says isn’t there is actually there, so I’m clueless.
Can you help please?
Thanks in advance,
Tom
- The topic ‘[Plugin: Supra CSV Importer] Localhost errors’ is closed to new replies.