Title: [Plugin: Supra CSV Importer] Localhost errors
Last modified: August 20, 2016

---

# [Plugin: Supra CSV Importer] Localhost errors

 *  Resolved [halasy](https://wordpress.org/support/users/halasy/)
 * (@halasy)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/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
 * [http://wordpress.org/extend/plugins/supra-csv-parser/](http://wordpress.org/extend/plugins/supra-csv-parser/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Joseph Persie](https://wordpress.org/support/users/zmijevik/)
 * (@zmijevik)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-supra-csv-importer-localhost-errors/#post-3010672)
 * navigate to the plugin direcotry and echo dirname(__FILE__); what do you get?
 *  Plugin Author [Joseph Persie](https://wordpress.org/support/users/zmijevik/)
 * (@zmijevik)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-supra-csv-importer-localhost-errors/#post-3010673)
 * make a script named test.php and put the statement in there:<? echo dirname(__FILE__);
 *  Plugin Author [Joseph Persie](https://wordpress.org/support/users/zmijevik/)
 * (@zmijevik)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-supra-csv-importer-localhost-errors/#post-3010677)
 * my solution: don’t use wamp, its horrible!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Supra CSV Importer] Localhost errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/supra-csv-parser_c8cece.svg)
 * [Supra CSV](https://wordpress.org/plugins/supra-csv-parser/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/supra-csv-parser/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/supra-csv-parser/)
 * [Active Topics](https://wordpress.org/support/plugin/supra-csv-parser/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/supra-csv-parser/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/supra-csv-parser/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Joseph Persie](https://wordpress.org/support/users/zmijevik/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-supra-csv-importer-localhost-errors/#post-3010677)
 * Status: resolved