• Resolved databell96

    (@databell96)


    I’m currently trying to wrap up development of a site and I can’t seem to create events in GigPress. When I do, it doesn’t save and I get a “Something ain’t right – try again?” error message. Would this possibly have anything to do with this being on a multisite install?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Are you able to save venues and/or artists?

    Interested in this question, as I have a goal of feeding multiple sites with one set of gigpress data.

    JB

    Thread Starter databell96

    (@databell96)

    I did turn WP DEBUG on and these two errors came up:

    Notice: Undefined index: show_artist_id in /home/jasonm20/public_html/wp-content/plugins/gigpress/admin/handlers.php on line 148

    Notice: Undefined index: show_venue_id in /home/jasonm20/public_html/wp-content/plugins/gigpress/admin/handlers.php on line 149

    https://ccm.net/faq/3140-php-notice-undefined-index

    Good luck . . .

    • This reply was modified 5 years, 3 months ago by westonjeff.

    Can you view tables via phpMyAdmin?

    Problem looks to be coming from

    $gpo[‘default_artist’] = $show[‘show_artist_id’];
    $gpo[‘default_venue’] = $show[‘show_venue_id’]

    {
    // Sticky stuff for the next entry
    $gpo[‘default_date’] = $show[‘show_date’];
    $gpo[‘default_time’] = $show[‘show_time’];
    $gpo[‘default_ages’] = $show[‘show_ages’];
    $gpo[‘default_artist’] = $show[‘show_artist_id’];
    $gpo[‘default_venue’] = $show[‘show_venue_id’];
    $gpo[‘default_tour’] = $show[‘show_tour_id’];
    update_option(‘gigpress_settings’, $gpo);
    }

    Thread Starter databell96

    (@databell96)

    Jeff, first off I can’t save anything. Artists, Venues, Shows…. nothing.

    However, I can definitely access PHPmyAdmin. I searched for that codes and it shows up in a lot of places. Not really sure what table to look for where it exists.

    Sorry I’m not more help . . . I’m no PHP expert, but looks like default values are not being set.

    What are your “advanced” settings in GigPress, i.e. either of these checked?
    Disable the default GigPress CSS. Disable the default GigPress JavaScript.

    Have you tried removing and reinstalling?

    Are there any records in database tables?

    If not, maybe try to import some using GP’s sample CSV file — https://gigpress.com/wp-content/gigpress-csv-sample.csv — to see what happens.

    Thread Starter databell96

    (@databell96)

    I did reinstall GigPress, but no luck.

    Thread Starter databell96

    (@databell96)

    OK, I figured something out. As I mentioned previously, I’ve got this installed in a WordPress multisite. However, GigPress never created database tables for the 2nd (or 3rd) site! Only the first one, which is why it works.

    So I guess I should manually create those tables myself and maybe then it will work?

    I’m not super familiar with “multisite” functions . . . did not realize each plugin needed different tables for second or third sites.

    So, your “base” or first site works with GigPress, but second and third don’t? That’s kind of bad news for what I had in mind.

    I wanted to feed multiple sites with one version of GigPress data without having to use RSS or similar.

    Thread Starter databell96

    (@databell96)

    Yea, most plugins add those tables for multisite, but this isn’t one of them. I’ll check your links shortly but I would hope someone from ModernTribe joins in the conversation on Monday to clarify all of this.

    Any luck resolving your issue? Asking for a friend.

    ??

    Thread Starter databell96

    (@databell96)

    Yes, I basically went into PHPmyAdmin, exported the four GigPress tables from the database, went into a text editor and renamed those tables to match the name of my other site in the multisite install and then uploaded it into the DB. Worked.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Can’t save events – Something ain’t right – try again?’ is closed to new replies.