I have trouble installing updates and mods. An strange one.

Started by DARKKi-NZTi, December 05, 2013, 10:51:59 AM

Previous topic - Next topic

DARKKi-NZTi

I have installed the 2.06 patch and few mods. They installed okay but SMF still says its 2.05 and i do not find settings from any mods where they should be, any kind of help would be appreciated!

There are some photos in attachments so you get better picture of the problem.

Thanks already! And thanks devolopers for creating this awesome board software!
:: DARKKi / NZTi! [nofollow] ::

margarett

Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Kindred

it sounds like you have the chown issue.

Basically, your host has configured your system so that php is running as "nobody" therefore, any files which were uploaded via ftp or your cpanel account are owned by someone else....     
this means that the system THINKS that it can edit the files (and thus reports no errors in the mod install check) but the edits are actually rejected by the system and never actually done.

Your options are
1- Try chmod files and directories as 666/777
2- talk to your host
3- change hosts
4- manually edit the files per the manual mod installation instructions.

(this includes the 2.0.6 patch which was never actually installed)
Сл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."

DARKKi-NZTi

Quote from: Kindred on December 05, 2013, 11:36:16 AM
it sounds like you have the chown issue.

Basically, your host has configured your system so that php is running as "nobody" therefore, any files which were uploaded via ftp or your cpanel account are owned by someone else....     
this means that the system THINKS that it can edit the files (and thus reports no errors in the mod install check) but the edits are actually rejected by the system and never actually done.

Your options are
1- Try chmod files and directories as 666/777
2- talk to your host
3- change hosts
4- manually edit the files per the manual mod installation instructions.

(this includes the 2.0.6 patch which was never actually installed)

Sorry for bringing this thread alive again but i am really frustrated and almost have destroyed my board with manually adding mods and patches.

1. I have chmodded files and dirs as 777
2. Does not offer any help
3. I plan to
4. This is where all is going to hell :P

Isn't there anything else to do? Any workaround solution etc?
:: DARKKi / NZTi! [nofollow] ::

margarett

To use 777 might not be nicely accepted by your host...

If the issue is the "chown" one, your host (thus option 2) is really your only chance :(

You can, however (and if you can), copy your forum files and DB to you local computer (XAMPP, WAMP, etc), do the update and then send the files (only the files, there is no database change) to your live site again.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

DARKKi-NZTi

Quote from: margarett on January 07, 2014, 07:07:43 PM
To use 777 might not be nicely accepted by your host...

If the issue is the "chown" one, your host (thus option 2) is really your only chance :(

You can, however (and if you can), copy your forum files and DB to you local computer (XAMPP, WAMP, etc), do the update and then send the files (only the files, there is no database change) to your live site again.

If i contacted my service provider what should i ask from them, i maybe was not clear enough before because i did not fully understand what to ask?

And thanks for the second method. I will read onto this and check how hard it is for my level of knowledge but i think i can handle it.
:: DARKKi / NZTi! [nofollow] ::

margarett

This might be handy ;) Just think about the "different host" as your computer.
How do I move my SMF forum to a different host?

You should ask them to check proper ownership in all files. That issue with MODs that install-but-they-don't is usually caused by files that are supposed-to-be-writable-but-are-not due to ownership issues.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

DARKKi-NZTi

Quote from: margarett on January 07, 2014, 08:53:16 PM
This might be handy ;) Just think about the "different host" as your computer.
How do I move my SMF forum to a different host?

You should ask them to check proper ownership in all files. That issue with MODs that install-but-they-don't is usually caused by files that are supposed-to-be-writable-but-are-not due to ownership issues.

Thanks for the link! I will try to move it to my machine and do the things there.

I have changed the owner to myself for the files but if i understood you correctly the files are not owned by me when written?
:: DARKKi / NZTi! [nofollow] ::

margarett

When SMF tries to install a mod, it checks the affected files for writing permissions. If they are not writable, it presents you the information as such and asks you for FTP details in order to try to fix that. It's clearly not your case.

The ownership issue is more "deep". The files are reported as writable (because they have permissions as such) but the user (on server level) doesn't "own" them and, as such, the file editions are silently discarded because the file was supposed to be editable.

It can happen that this is not the issue here, but it's the best thing to check for now. And you usually don't have permissions to change ownership, so you really need to address your host about it...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

DARKKi-NZTi

Okay, thanks for explaining.

Now i installed Xamp and transferred the forums and backed up my database and imported it to my local database. But when i try to access the forums i get this message:




Connection Problems

Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.
:: DARKKi / NZTi! [nofollow] ::

margarett

You need to run repair settings and adjust database info as well as paths to your local machine
What is repair_settings.php?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

DARKKi-NZTi

Quote from: margarett on January 08, 2014, 10:10:03 AM
You need to run repair settings and adjust database info as well as paths to your local machine
What is repair_settings.php?

Oh, sorry. My stupidity, overlooked that on the guide. But i got it working!! :D

I got this message from repair_settings.php though, but it works nonethless.

( ! ) Fatal error: Call to undefined function db_fatal_error() in C:\wamp\www\darkstarone\Sources\Subs-Db-mysql.php on line 106
Call Stack
#   Time   Memory   Function   Location
1   0.0021   320736   {main}( )   ..\repair_settings.php:0
2   0.0144   1093352   set_settings( )   ..\repair_settings.php:96
3   0.0258   1111184   smf_db_insert( )   ..\repair_settings.php:848
4   0.0258   1112384   smf_db_quote( )   ..\Subs-Db-mysql.php:627
5   0.0258   1112888   preg_replace_callback ( )   ..\Subs-Db-mysql.php:214
6   0.0259   1113624   smf_db_replacement__callback( )   ..\Subs-Db-mysql.php:214
:: DARKKi / NZTi! [nofollow] ::

DARKKi-NZTi

So after i have done all the things i want i just copy only the whole forum back the hosting service?
:: DARKKi / NZTi! [nofollow] ::

margarett

1 - backup
2 - send only the files (you don't need to restore the DB, there were no changes), overwrite everything
3 - run repair settings
4 - delete repair settings

That should be it ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

DARKKi-NZTi

Quote from: margarett on January 08, 2014, 10:45:17 AM
1 - backup
2 - send only the files (you don't need to restore the DB, there were no changes), overwrite everything
3 - run repair settings
4 - delete repair settings

That should be it ;)

Nice. And thanks alot! I cannot express how grateful i am for providing me an solution! (which i was capable of using with little help)

I have seen some nice forum communities but this i mark as number one from now on :)

Gotta install all the good mods now that wont have to do that again in a while, is there an thread here where are listed "most useful" etc. mods btw?
:: DARKKi / NZTi! [nofollow] ::

Kindred

not really, because every site has different needs and every admin would find one or another or a third, etc mod "most useful"
Сл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."

DARKKi-NZTi

Okay, i got the files transferred and everything seemed to work fine (mostly do) but then i get this message from changing SimplePortal settings for example.




Database Error
Table 'darkki.smf_sp_blocks' doesn't exist
File: /home/darkki/nzti.fi/darkstarone/Sources/Subs-Portal.php
Line: 369

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.6, while your database is at version 2.0.5. The above error might possibly go away if you execute the latest version of upgrade.php.




Any tips on this one?
:: DARKKi / NZTi! [nofollow] ::

Kindred

well, that indicates that SimplePortal was not fully installed.
Specifically, the database table(s) needed by SimplePortal were not created
Сл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."

DARKKi-NZTi

Quote from: Kindred on January 08, 2014, 01:22:27 PM
well, that indicates that SimplePortal was not fully installed.
Specifically, the database table(s) needed by SimplePortal were not created

It works flawlessly on the local machine.
:: DARKKi / NZTi! [nofollow] ::

Kindred

and why would you think that had anything at all to do with the install on your non-local web server?
Сл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."

Advertisement: