Hi Alex
I've stumbled across a bizarre error I can't understand.
I'm using the 6-1 branch.
Installed the module no problem, configured the node type for the feed.
On creating a feed node, I get the following error

Fatal error: Cannot redeclare parser_csv_parse() (previously declared in /hsphere/local/home/proactivehosting/mywedding.proactivehosting.com/sites/all/modules/contrib-extra/parser_csv/parser_csv_parser.inc:63) in /hsphere/local/home/proactivehosting/mywedding.proactivehosting.com/sites/all/modules/contrib-extra/parser_csv/parser_csv_parser.inc on line 179 

Its a bit weird.
Line 63 is where is is declared for the first time,
and line 179 is the end of file.
I thought it was something to do with my windows development setup - but its the same on my test server running linux.

Any ideas?

Regards
Alan

CommentFileSizeAuthor
#1 355129_require_once.patch703 bytesalex_b

Comments

alex_b’s picture

Priority: Normal » Critical
Status: Active » Needs review
StatusFileSize
new703 bytes

Seems that in your case parser_csv_parser.inc is included twice. Try this patch...

Looking at the error message: are you getting married? Congrats, if so ;-)

alanburke’s picture

Status: Needs review » Reviewed & tested by the community

Hi Alex
That did the trick.

Sorry for the delay in testing - move to another project in the meantime.

Regards
Alan
PS I'm not getting married! The site in question is a wedding services directory site.

alex_b’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Thanks for reporting.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.