Naprawa błędu w skrypcie -- 2

  • Status: Closed
  • Prize: zł150
  • Entries Received: 1
  • Winner: maxkoryukov

Contest Brief

Witam.

Pisze w imieniu znajomej. Posiada ona skrypt rodzaj CMR do zażądania klientami wyliczania im punktów za zakupy etc.

Z piątku na / sobotę pojawił się jakiś błąd. Po wejściu w pewną zakładkę podglądu osób, czy przeliczeniu punktów pojawia się coś jak poniżej. Chodzi o odszukanie i naprawę błędu, który blokuje wykonanie całego skryptu. Niestety nie robiła backup...

Serwer jest w: nazwa.pl jest też dostęp ssh jesli ma to znaczenie.

Nie ma problemu np jeśli będzie trzeba wykasować jakieś rekordy z ostatnich dni etc w bazie....

Przy przeliczaniu punktów:

SQLSTATE[22003]: Numeric value out of range: 1690 BIGINT UNSIGNED value is out of range in '(`sayperfumy_1`.`t`.`rgt` - 1)' (/home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/modules/PartnerSales/PartnerSalesListDao.php:70)#0 /home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/modules/PartnerSales/PartnerSalesListDao.php(70): PDOStatement->execute()
#1 /home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/modules/PartnerSales/PartnerSalesList.php(99): PartnerSalesListDao->getPartnerSales(0, 0, 13, 1, 0, 0, 8, 2015, NULL)
#2 /home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/modules/PartnerSales/PartnerSalesListCtrl.php(146): PartnerSalesList->load()
#3 /home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/modules/PartnerSales/PartnerSalesListCtrl.php(53): PartnerSalesListCtrl->onTree(Array)
#4 /home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/lib/darkpurity/Page/PageCtrl.php(136): PartnerSalesListCtrl->handleRequest(Array)
#5 /home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/lib/darkpurity/Page/PageCtrl.php(136): PageCtrl->handleRequest(Array)
#6 /home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/lib/darkpurity/App.php(143): PageCtrl->handleRequest(Array)
#7 /home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/index.php(15): App::main()
#8 {main}

Przy podglądzie grupy:

SQLSTATE[22003]: Numeric value out of range: 1690 BIGINT UNSIGNED value is out of range in '(`sayperfumy_1`.`t1`.`groupCount` - 1)' (/home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/modules/PartnerSales/PartnerSalesListDao.php:166)#0 /home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/modules/PartnerSales/PartnerSalesListDao.php(166): PDOStatement->execute()
#1 /home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/modules/PartnerSales/PartnerSalesList.php(187): PartnerSalesListDao->getPartnerCount(8, 2015, 48000373, 48000373)
#2 /home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/modules/PartnerSales/view/PartnerSalesCountView.php(33): PartnerSalesList->getPartnerCount()
#3 /home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/lib/darkpurity/ViewXML.php(148): PartnerSalesCountView->createDoc()
#4 /home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/lib/darkpurity/ViewXML.php(149): ViewXML->importChildren()
#5 /home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/lib/darkpurity/ViewXML.php(121): ViewXML->importChildren()
#6 /home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/lib/darkpurity/ViewXHTML.php(49): ViewXML->create()
#7 /home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/lib/darkpurity/App.php(118): ViewXHTML->get()
#8 /home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/lib/darkpurity/App.php(146): App::display(Object(PageView))
#9 /home/sayperfumy/ftp/SAY_WEBSEITEN/OSIRIS/index.php(15): App::main()
#10 {main}

Recommended Skills

Employer Feedback

“All is ok and quickly!”

Profile image Fudalii, Poland.

Public Clarification Board

No messages yet.

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!