News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Package manager installation issues

Started by m in sc, May 23, 2023, 01:14:29 PM

Previous topic - Next topic

m in sc

Hi, while trying to install packages thru package manager, it never works. this is the message im getting every time regardless of the packages.

this is NOT what i normally do, so please bear with my rookie question. I have tried to set the db to be readable/writeable, file permissions set to 777.

this is the error i get.

array(14) {
  • => array(3) { ["file"]=> string(68) "/home/x01lbyseepl5/public_html/forum-clone/Sources/Subs-Db-mysql.php" ["line"]=> int(590) ["function"]=> string(9) "log_error" } [1]=> array(3) { ["file"]=> string(68) "/home/x01lbyseepl5/public_html/forum-clone/Sources/Subs-Db-mysql.php" ["line"]=> int(494) ["function"]=> string(12) "smf_db_error" } [2]=> array(3) { ["file"]=> string(61) "/home/x01lbyseepl5/public_html/forum-clone/Sources/Errors.php" ["line"]=> int(138) ["function"]=> string(12) "smf_db_query" } [3]=> array(3) { ["file"]=> string(61) "/home/x01lbyseepl5/public_html/forum-clone/Sources/Errors.php" ["line"]=> int(301) ["function"]=> string(9) "log_error" } [4]=> array(1) { ["function"]=> string(17) "smf_error_handler" } [5]=> array(3) { ["file"]=> string(68) "/home/x01lbyseepl5/public_html/forum-clone/Sources/Subs-Db-mysql.php" ["line"]=> int(1027) ["function"]=> string(22) "mysqli_stmt_bind_param" } [6]=> array(3) { ["file"]=> string(61) "/home/x01lbyseepl5/public_html/forum-clone/Sources/Errors.php" ["line"]=> int(129) ["function"]=> string(19) "smf_db_error_insert" } [7]=> array(3) { ["file"]=> string(68) "/home/x01lbyseepl5/public_html/forum-clone/Sources/Subs-Db-mysql.php" ["line"]=> int(590) ["function"]=> string(9) "log_error" } [8]=> array(3) { ["file"]=> string(68) "/home/x01lbyseepl5/public_html/forum-clone/Sources/Subs-Db-mysql.php" ["line"]=> int(494) ["function"]=> string(12) "smf_db_error" } [9]=> array(3) { ["file"]=> string(63) "/home/x01lbyseepl5/public_html/forum-clone/Sources/Packages.php" ["line"]=> int(928) ["function"]=> string(12) "smf_db_query" } [10]=> array(3) { ["file"]=> string(59) "/home/x01lbyseepl5/public_html/forum-clone/Sources/Subs.php" ["line"]=> int(6016) ["function"]=> string(14) "PackageInstall" } [11]=> array(3) { ["file"]=> string(63) "/home/x01lbyseepl5/public_html/forum-clone/Sources/Packages.php" ["line"]=> int(91) ["function"]=> string(11) "call_helper" } [12]=> array(3) { ["file"]=> string(60) "/home/x01lbyseepl5/public_html/forum-clone/Sources/Admin.php" ["line"]=> int(499) ["function"]=> string(8) "Packages" } [13]=> array(3) { ["file"]=> string(52) "/home/x01lbyseepl5/public_html/forum-clone/index.php" ["line"]=> int(191) ["function"]=> string(9) "AdminMain" } } Error loop.array(5) {
  • => array(3) { ["file"]=> string(68) "/home/x01lbyseepl5/public_html/forum-clone/Sources/Subs-Db-mysql.php" ["line"]=> int(590) ["function"]=> string(9) "log_error" } [1]=> array(3) { ["file"]=> string(68) "/home/x01lbyseepl5/public_html/forum-clone/Sources/Subs-Db-mysql.php" ["line"]=> int(494) ["function"]=> string(12) "smf_db_error" } [2]=> array(3) { ["file"]=> string(68) "/home/x01lbyseepl5/public_html/forum-clone/Sources/Subs-Db-mysql.php" ["line"]=> int(802) ["function"]=> string(12) "smf_db_query" } [3]=> array(3) { ["file"]=> string(62) "/home/x01lbyseepl5/public_html/forum-clone/Sources/Session.php" ["line"]=> int(187) ["function"]=> string(13) "smf_db_insert" } [4]=> array(1) { ["function"]=> string(12) "sessionWrite" } } Error loop.

this is on a cloned version of my forum im using to work the bugs out, hence the name  in the above string.

php is up to date and the site has been stable after the update but i cant load any features. any of the packages below yield the same results. what am i missing here?

thank you.




Kindred

When you copied the forum, did you reset all of your URLs and paths and database?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

m in sc

yes, but it does it on both versions, the copy and the 'original' location. Im seeing the same error on both, but def testing on the 'cloned' version that's running in parallel.

Kindred

what you see is not an error message...   what you are seeing suggests that you have some very badly written code somewhere that is kicking out code inside an unclosed echo statement....
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

m in sc

yeah, i cant argue w that. there's no 'error' recorded so to speak, it just wont work on a godaddy host. I'm assuming/guessing the sql db might be the issue as its only @ 5.5 but that's (obviously) beyond my scope of expertise, and I cant upgrade it. I'm going to try to clone it over to an aws server hopefully w a bit more control. Im just surprised I cant get a work around on this anywhere.

shawnb61

It appears it is getting a db error.  Then it cannot write the actual error to the error log, so it gets in a loop.  There is some loop detection in there that is kicking in.  That is usually the result of a significant DB issue.  (It can't write...  Then, it can't write the error to the error log, because it can't write... Rinse & repeat...)

And yes, mysql 5.5 is quite old, and not supported in 2.1.  I don't even have access to a 5.5 environment to attempt to reproduce this.
https://wiki.simplemachines.org/smf/SMF2.1:Requirements_and_recommendations
A question worth asking is born in experience & driven by necessity. - Fripp

Advertisement: