Support

Home Forums Event Espresso Premium Issues with another plugin (Simple Files)

Issues with another plugin (Simple Files)

Posted: November 5, 2013 at 11:52 pm

Viewing 12 reply threads


Geoff

November 5, 2013 at 11:52 pm

I’ve narrowed down an issue, when the Event Espresso “Ticketing” plug-in is enabled it causes my Simple Files plug-in to error out.

Page with error: http://www.ocgunclub.org/file-repository/

When the Ticketing plug-in is disabled, the plug-in functions normally.

I have contacted the author of the Simple Files plug-in and he states:
Simple Files runs Jquery native to WordPress and in non-conflict mode as per WordPress standards… many plugins load their own version (older usually) and hence the conflict.

I do not have issues with another other activated plug-ins.

Could someone please contact me with some assistance on this one? I need them both to work. 🙂 I can provide any information requested, access to my installation, work as a go-between authors/programmers, etc.

Thanks!


Dean

November 6, 2013 at 12:48 am

Hi,

There are no errors on the page you linked. Can you advise what errors occur or if you have disabled one or both of the plugins, re-enable them so we can see the errors.

Thanks.


Geoff

November 6, 2013 at 6:51 am

Ack…I just realized that this plug-in requires you have an account.

Please use the Register link in the upper-right column and create an account.

You’ll have enough access to view the page and error above.

Thanks!


Sidney Harrell

November 6, 2013 at 11:19 am

It’s not a jQuery error, it’s a php error.
simple files is declaring a function in plugins/simple-files/functions.php on line 39 that has already been declared in plugins/simple-files/functions.php on line 23.


Geoff

November 6, 2013 at 12:36 pm

The author of Simple Files reply:

“Did you send them the latest version of Simple Files where I had fixed that issue by renaming a function that they are using also? That should have fixed it…”

Please contact me with an email address and I can send you his files with his fix.

Thanks!


Josh

  • Support Staff

November 6, 2013 at 1:52 pm

Hi Geoff,

I’m not sure why we would need the files. If you install the files he sent you on your website that should fix the issue. Have you tried that?


Geoff

November 6, 2013 at 2:08 pm

Yes. I’m running his latest version. For some reason the Ticket plug-in still interferes with it and produces that error.

I’m stuck in the middle with you guys saying it’s his problem and him saying it’s yours.

Can I send it to you and see if you can determine what is going on? He claims his fixes should have resolved the issue, but something in your code is interfering.

Thanks.


Josh

  • Support Staff

November 6, 2013 at 8:36 pm

Hi Geoff,

Can you let us know the exact error that is displayed? You will need to check your error logs or turn on WordPress debugging if you don’t see an error on the page.

You can turn on WordPress debugging by setting wp_debug to true by editing the wp-config.php file.
You can use an [FTP client][1] and [a text editor][2] to access change this line to the site’s wp-config.php file:
define(‘WP_DEBUG’, true);
[1]: http://codex.wordpress.org/FTP_Clients
[2]: http://codex.wordpress.org/Editing_Files#Acceptable_External_Editors


Geoff

November 6, 2013 at 9:26 pm

Here is the error:
Fatal error: Cannot redeclare simple_files_add_type_callback() (previously declared in /home/funre0/public_html/ocgunclub/wp-content/plugins/simple-files/functions.php:23) in /home/funre0/public_html/ocgunclub/wp-content/plugins/simple-files/functions.php on line 39

I have also re-enabled the Ticket plug-in (contrary to what the page says) to replicate the issue):
http://www.ocgunclub.org/file-repository/


Geoff

November 6, 2013 at 9:31 pm

You must create a user account to see the error. Use the ‘Register’ link on the right side column.


Dean

November 7, 2013 at 2:48 am

Hi Geoff,

I logged in to double check the error, and I can confirm this is not related to Event Espresso at all.

I understand your frustration that it looks like we are passing the buck here, but the error specifically relates to the simple-files plugin.

To be sure I checked all our files for the function simple_files_add_type_callback and it does not exist within Event Espresso.

You will need to double check that you have the latest version of Simple Files (as the quote above suggests he has fixed this issue) and/or refer back to the plugin creator providing him with a copy of the error message you posted.


Geoff

November 7, 2013 at 7:42 am

I have the latest Simple Files installed (he sent me a version 1.66 that he tweaked to try and fix the conflict- that is what is installed). I have contacted him with the error. He claims that his latest version should have fixed the problem that conflicts with your Ticket plugin. He suggested that you take a look at the code of his plugin so that you can see that he corrected the function that was originally conflicting, but that something in the Ticketing plugin still seems to be conflicting. He emailed me the code to give you guys, but no one there seems to want to look at it.

If this has *nothing* to do with Event Espresso, then why did it cease to work when the Ticketing plugin is enabled? It works perfectly when the Ticketing plugin is not enabled.

I need your two plugins to work together, is there someone there that will take a look at both codes to determine where the issue is, please? I will send his Simple Files 1.65 and 1.66 in case you need to do a side-by-side comparison.

Thanks


Josh

  • Support Staff

November 7, 2013 at 8:49 am

Hi Geoff,

Here is what we can do: We can look at the code for this simple files plugin. If the issue is resolved by fixing something in our ticketing plugin we’ll make the fix. If it turns out that the issue is resolved by fixing something in the simple files plugin we will need to charge for our time that we spend looking into it.

If that works for you please send the files to support at eventespresso.com and we’ll take a look.

Viewing 12 reply threads

The support post ‘Issues with another plugin (Simple Files)’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso