Problem after disabling module rewrite

di-spora

Joined: 2012-07-18
Posts: 6
Posted: Mon, 2014-06-09 13:48

Hello
Please help fix bugs Gallery2
I had a bug where when you click any link inserted at the end of session.
Recently disabled module simple links (rewrite) eventually stopped working site.
During installation, gives a lot of mistakes.
Can provide access FTP, can anyone help? Thank you for your attention.

---

Здравствуйте.
Помогите пожалуйста исправить баги Gallery2
У меня имелся баг, при котором при переходе по любой ссылке вставлялась в конце сессия.
Недавно отключил модуль простых ссылок (rewrite) в итоге сайт перестал работать.
Во время установки, выдает множество ошибок.
Могу предоставить доступ FTP, кто может помочь? спасибо за внимание.

 
di-spora

Joined: 2012-07-18
Posts: 6
Posted: Mon, 2014-06-09 15:19

Error (ERROR_STORAGE_FAILURE)

in modules/core/classes/GalleryStorage.class at line 239 (GalleryCoreApi::error)
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 69 (GalleryStorage::_getConnection)
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 1815 (GalleryStorageExtras::_dbInit)
in modules/core/classes/GalleryStorage.class at line 1055 (GalleryStorageExtras::isInstalled)
in install/steps/InstallCoreModuleStep.class at line 96 (GalleryStorage::isInstalled)
in install/index.php at line 164 (InstallCoreModuleStep::processRequest)

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2014-06-09 17:45
Quote:
2014-06-09 19:12:54 [TMP_SESSION_ID_DI_NOISSES_PMT] mysqli error: [1226: User 'o6oi-user' has exceeded the 'max_questions' resource (current value: 1000)] in EXECUTE("SET NAMES "utf8"")

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
di-spora

Joined: 2012-07-18
Posts: 6
Posted: Mon, 2014-06-09 18:47

current value: 1000 - has been established specifically for heavy load. If the limit is removed, the site loads the page by 1-2 per minute and immediately generates an error.
With skim limit, the installation continues.
---
current value: 1000 - было установлено специально, из-за сильной нагрузки. Если лимит снят, сайт загружает 1-2 сраницы за минуту и сразу выдает ошибку.
Со снятым лимитом, установка не продолжается.

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Tue, 2014-06-10 09:08

Many people would argue that 1,000 or even 10 times higher, 10,000, is on the low side for a high traffic site.

I would go for 50,000 and see if there is an improvement.
--
dakanji.com

 
di-spora

Joined: 2012-07-18
Posts: 6
Posted: Tue, 2014-06-10 10:15

rmdir(/var/www/site.ru/data/www/site.ru/g2data//cache/entity/2/5/) [function.rmdir]: ������� �� ���� in /var/www/site.ru/data/www/site.ru/modules/core/classes/GalleryPlatform.class on line 516

When installing the kernel issues an error above.
It is noticed that there is such a link g2data / / cache with double slash installation configuration file site.ru/g2data slash at the end I clean, but it vseravno propysyvaetsya in konfike.Therefore, before installing the kernel, I manually delete this misunderstanding in config.php
After G2 creates vyrny config server is heavily loaded and produces 504 Gateway Time-out log source in step installation kernel attached below.
---
При установке ядра, выдает ошибку, выше.
Замечено, что имеется такая ссылка g2data//cache с двойной косой чертой, при установке файла конфигурации site.ru/g2data косую черту в конце я убираю, но она все равно прописывается в конфике. Поэтому перед установкой Ядра, я удалял в ручную данное недоразумение в config.php
После того как G2 создает верный конфиг, сервер сильно грузится и выдает 504 Gateway Time-out исходный лог на шаге установке ядра прикрепил ниже.

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Tue, 2014-06-10 14:24

Hi,

Can you please add your attachments as *.txt files instead of *.zip?

Thanks
--
dakanji.com

 
di-spora

Joined: 2012-07-18
Posts: 6
Posted: Tue, 2014-06-10 15:23

Dayo, TXT file attached.

I have a very large database is now about 150 megabytes, and happened more than 1 gigabyte. Rows in the table more than a million.
Approximately images: 25,434; Album: 694 / images - wallpaper, were makimalno possible quality ... that I could find.
Cache site was disabled, but still cached scripts and all the files held 2-4 times greater than nominal size, it could be more.
Site is large enough and old.
Had to stop due to the increasing update load and falling positions here probably had to somehow optimize large databases.
---
Прикрепил TXT файл.

У меня БД очень большая сейчас порядка 150 мегабайт, бывало и более 1 гигабайта. Строк в таблице более миллиона.
Примерно, изображений: 25 434; альбомов: 694 / изображения - обои, были в макимално возможном качесте... которые мне удавалось найти.
Кеш сайта был отключен, но все равно скрипты кэшировали и все файлы занимали в 2-4 раза более номинального размеры, могло быть и больше.
Сайт достаточно большой и старый.
Пришлось прекратить обновления из-за возрастающей нагрузки и падающих позиций, тут видимо надо было как-то оптимизировать большую БД.

 
di-spora

Joined: 2012-07-18
Posts: 6
Posted: Wed, 2014-06-11 13:33

Gallery established solution: update all files and run the update.

Please tell me how to disable session?
At the end of reference prescribed? G2_GALLERYSID = TMP_SESSION_ID_DI_NOISSES_PMT

I found the original file / modules / core / classes / GallerySession.class
37 line, define ('SESSION_TEMP_ID', 'TMP_SESSION_ID_DI_NOISSES_PMT'); Remove TMP_SESSION_ID_DI_NOISSES_PMT cuts link.
But now added to the sidebar link? G2_GALLERYSID = how to remove this link and disable the sessions?
---
Галерея установилась, решение: обновление всех файлов и запуск обновления.

Подскажите пожалуйста, как отключить сессии?
В конце ссылок прописывается ?g2_GALLERYSID=TMP_SESSION_ID_DI_NOISSES_PMT

Я нашел исходный файл /modules/core/classes/GallerySession.class
37 строчка, define('SESSION_TEMP_ID', 'TMP_SESSION_ID_DI_NOISSES_PMT'); удаление TMP_SESSION_ID_DI_NOISSES_PMT обрезает ссылку.
Но теперь к боковому меню прибавляется ссылка ?g2_GALLERYSID= как удалить данную ссылку и отключить модуль сессий?