Upgraded to 1.1.3 without errors but still says 1.1.2 and out of date sources!

Started by symon, June 25, 2007, 04:53:14 PM

Previous topic - Next topic

symon

SMF Version: SMF 1.1.2
I've read the titles to other threads here and they're not very descriptive so please forgive me if I'm repeating...

...but as the title says, I've upgraded and all tests say successful and after install the admin section said all was good. But my forum still says 1.1.2 and the source files in this upgrade still claim to be out dated.

What's up? Has anyone else experienced this?

Ta :)

bborun

I am running two forums: one totally bog standard standalone forum and the other integrated into a Joomla! site. I have used the package manager to "update" both and have ended up with the same result: confusion.

On the standalone forum I have the following report from the Package Manager:



However, back in the Administration Center I find:



Can someone please explain what's going on here?

bsdemon

I have the same problem.

Error log :
2: file_get_contents(/var/www/htdocs/iliq/smf/Packages/temp/./smf_1-1-2_to_1-1-3_patch.mod) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory
File: /var/www/htdocs/iliq/smf/Sources/Packages.php
Line: 542

i tried to change my :
"SMF Directory"    
"Sources Directory"    
in Server Setings, but they are still the same
in "Setings.php" and Setings_bak.php i got new values.

I think this is the problem, but can't fix it :(

ScottMcQ

I'm in the same boat as the first two posters in this thread. I used the package update method. Can't uninstall: "This package cannot be uninstalled, because there is no installer!".

symon

We're not supposed to post support questions in the actually 1.1.3 thread so is this the right place to do it?

I know things take time but I'd have thought after a new release support would be on high alert for this sort of stuff ;)

Or should I have used a non-descriptive title like "not working"? lol

Just teasing :D

exrace

Quote from: bsdemon on June 26, 2007, 04:24:10 AM
2: file_get_contents(/var/www/htdocs/iliq/smf/Packages/temp/./smf_1-1-2_to_1-1-3_patch.mod) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory
File: /var/www/htdocs/iliq/smf/Sources/Packages.php
Line: 542
You are missing the /Packages/temp/ dir.
See my other post here:
http://www.simplemachines.org/community/index.php?topic=179175.msg1140285#msg1140285


symon


ScottMcQ

I'm new to SMF (recently installed 1.1.2) and then attempted to do the package upgrade to 1.1.3 like a day later (no mods installed). I've now found the Forum Error Log and have 3 pages of entries similar to this, which is pointing to permission errors:

http://<mysite>/forums/index.php?action=packages;sa=install2;package=smf_patch_1.1.3_1.0.11.tar.gz 
2: unlink(e:\hosting\member\smcquown\buckingham\forums/Packages/temp/smf_1-1-3_can_fail.xml): Permission denied\

File: e:\hosting\member\<mysite>\forums\Sources\Subs-Package.php
Line: 1157

Plus others like:

512: package_flush_cache(): some files are still not writable

fopen(e:\hosting\member\<mysite>\forums/index.php): failed to open stream: Permission denied
File: e:\hosting\member\<mysite>\forums\Sources\Subs-Package.php
Line: 1901

As far as I can tell, I have set permissions to RWX (I'm on a Windows-based hosting service) for all the appropriate folders and subfolders (most all of them) and files as specified during the initial install instructions.

So, what permissions to I need to set?

And, with all of these error entries in the log for just the install of the upgrade package, why did SMF tell me that the install worked, when obviously something went wrong?

bcswebco.com



Sarge

symon, how did you upgrade? Did you use the patch linked to in Admin > Packages (Package Manager)?



Or did you use the update or the upgrade package?

Any mods installed on your forum?

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

symon

Hey fella :)

I used the package manager like in your pic.

Everything said ok in the test and everything said ok after install.

But it hasn't installed :( And source files are still 1.1.2.

Mod installed are as follows:

1.     SMF 1.1.2 Update Package     1.1.2     [ Uninstall ]
2.    Users Online Today Mod    1.4.0    [ Uninstall ]
3.    No Temp Directory Removal    1.0    [ Uninstall ]
4.    SMF 1.0.11 / 1.1.3 Update    1.1

Let me know if that's enough info :)

5cakids

Ok can I uninstall this once it is installed? It is causing all kinds of trouble I canno longer back up my forum, and other things are going all bad.

Please advice me on if I can do this or not

Sarge

Upload all files, except upgrade.php and the two .sql files, from the SMF 1.1.3 upgrade (not update) package to your forum directory on the server. Make sure the existing files get overwritten with the new ones.

You will have to reinstall No Temp Directory Removal and Users Online Today after that. Also make sure that all installed themes are updated.

Click on the (more info) link after the forum version in Admin > Support and Credits > Version Information section and verify which files are highlighted in red.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

ErinMac

I've got the same problem, and followed around - saw someone mentioned to look for files in red and in my sources - there were only like 5 files there that were red.  So I went ahead and manually replaced "JUST" those files.

So everything is current from a file stand point, but I don't get the right admin info from the console when I log in -


My error log is getting TONS of errors too for each file that's bad:
[<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
File: /home/grin/www/offroad/Sources/Subs-Package.php
Line: 1901

Sarge

Quote from: ErinMac on June 29, 2007, 04:50:09 PM
So everything is current from a file stand point, but I don't get the right admin info from the console when I log in -

Try Admin > Forum Maintenance > "Find and repair any errors" and "Recount all forum totals and statistics".

If you still have issues after that, upload everything from the SMF 1.1.3 upgrade package to the forum directory on the server -- some files could be missing or with incorrect versions. After that, open upgrade.php in your browser and let it finish.

You will have to reinstall mods after the upgrade, if all goes well.

Quote from: ErinMac on June 29, 2007, 04:50:09 PM
My error log is getting TONS of errors too for each file that's bad:
[<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
File: /home/grin/www/offroad/Sources/Subs-Package.php
Line: 1901

Empty the error log and look at it again after a few minutes.

What files are the errors about? Have you tried to chmod those files to 777 (or 755 in some server configurations) through FTP?
How do I chmod? / what is chmod?

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

ErinMac

Ok, ran find/repair and it found zero errors - I'll work on uploading the 1.1.3 code on top of what I've got and run upgrade manually - the error log did stop reporting after i updated the few files (sub-package.php etc) it was complaining about.

I don't have any mods, it was a fresh 1.1.2 install, although when I go to packages it does show SMF 1.0.11 / 1.1.3 Update 3 times for what ever reason - I only tried it once so not sure what's up with that?

ErinMac

Ok, everything was good except:

Updating indexes and data on "smileys"... Unsuccessful!
This query:

    ALTER TABLE smf_smileys
    ORDER BY LENGTH(code) DESC;

looked around the site real quick, found the fix
Quote from: Celestial Lord on June 25, 2007, 12:35:06 PM
I found the solution.

Edit Sources/ManageSmileys.php

Change Line 654:
ORDER BY LENGTH(code) DESC", __FILE__, __LINE__);
To:
ORDER BY code DESC", __FILE__, __LINE__);

Change Line 990:
ORDER BY LENGTH(code) DESC", __FILE__, __LINE__);
To:
ORDER BY code DESC", __FILE__, __LINE__);

Edit upgrade_1-1.sql

Change Line 181:
ORDER BY LENGTH(code) DESC;
To:
ORDER BY code DESC;

Now all done.  I do question the 777 mode of Settings though?  Is that normal?

Sarge

Quote from: ErinMac on June 30, 2007, 08:55:45 AM
Now all done.  I do question the 777 mode of Settings though?  Is that normal?

Why chmod 777 is NOT a security risk

But you don't have to do that if everything is alright now.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

symon

Quote from: Sarge on June 29, 2007, 02:33:17 PM
Upload all files, except upgrade.php and the two .sql files, from the SMF 1.1.3 upgrade (not update) package to your forum directory on the server. Make sure the existing files get overwritten with the new ones.

You will have to reinstall No Temp Directory Removal and Users Online Today after that. Also make sure that all installed themes are updated.

Click on the (more info) link after the forum version in Admin > Support and Credits > Version Information section and verify which files are highlighted in red.

The BIG problem here is on the download section of SMF the large upgrade packs (that you recommend) are linked to update packs. And the update packs are linked to upgrade packs. Can you guys sort this out before I download? Seems like one of those small oversights ;)

Advertisement: