Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CSV import module gives error in TB

Featured Replies

Hi all,

I have a CSV import module that unfortunately doesnt works on TB. Its a PS 1.6 module, so it should work as TB is the replacement for 1.6.

I am getting the following error as soon i want to import a file :

PHP Fatal error: Call to undefined method PHPExcel::sheetCodeNameExists() in /var/www/vhosts/plotternederland.nl/damitex.plotternederland.nl/vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet.php on line 2901

Looking at the source file, it gives me this :

// Is there already such sheet name? if ($this->getParent()->sheetCodeNameExists($pValue)) { // Use name, but append with lowest possible integer

            if (PHPExcel_Shared_String::CountCharacters($pValue) > 29) {
                $pValue = PHPExcel_Shared_String::Substring($pValue,0,29);
            }
            $i = 1;
            while ($this->getParent()->sheetCodeNameExists($pValue . '_' . $i)) {
                ++$i;
                if ($i == 10) {
                    if (PHPExcel_Shared_String::CountCharacters($pValue) > 28) {
                        $pValue = PHPExcel_Shared_String::Substring($pValue,0,28);
                    }
                } elseif ($i == 100) {
                    if (PHPExcel_Shared_String::CountCharacters($pValue) > 27) {
                        $pValue = PHPExcel_Shared_String::Substring($pValue,0,27);
                    }
                }
            }

In Ps the module is working fine, so it is only a TB problem.

Does someone knows how to fix this?

Thank you in advance!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.