Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: maka213 on April 30, 2008, 10:57:15 PM

Title: Upgrading 1.1.4 to 1.1.5 problem
Post by: maka213 on April 30, 2008, 10:57:15 PM
I've never had an issue upgrading before and all tests are successful except 1.

22.  Execute Modification  .\Sources/Subs-Package.php  Test failed


I've tried to download the patch and upload it and then run it with the packet manager but then i get this error.

An Error Has Occurred!
The package you tried to upload either is not a valid package or has become corrupted.



I'm lost as to what to do.Appreciate any help.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: jossanaijr on April 30, 2008, 11:10:35 PM
I'm having exactly the same problem.  Tried already all 3 files with parser and having this:

ERROR: The package-info.xml file is invalid!
Debugging Information
Error message: String could not be parsed as XML
Source: /home/ars/public_html/package.php:114
Errors encountered while parsing XML file:

Stack Trace:
#0 /home/ars/public_html/package.php(114): SimpleXMLElement->__construct('')
#1 /home/ars/public_html/package.php(75): parsePackageInfoXML('/tmp/package-in...', 'install', 'all')
#2 /home/ars/public_html/package.php(756): parseArchive('/tmp/phpEyfxua', 'install', 'all')
#3 {main}
XML File:

but I have another forum where I updated automatically... ???
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: karlbenson on April 30, 2008, 11:11:02 PM
See whether my post helps you.
http://www.simplemachines.org/community/index.php?topic=236816.msg1526093#msg1526093

As for the invalid/corrupted, you might not be able to do the Web-Fetching on your host.
The best idea would be to download it from the topic itself and upload it via the package manager
http://www.simplemachines.org/community/index.php?topic=236816.0
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: !Hachi! on April 30, 2008, 11:11:11 PM
re try it from admin panel.whats wrong with /
here in first code.
.\Sources/Subs-Package.php 
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: jossanaijr on April 30, 2008, 11:19:24 PM
QuoteQuote from: jossanaijr on Today at 10:42:48 PM

    22.     Execute Modification     ./Sources/Subs-Package.php     Test failed

    Is it MOD related?

Open ./Sources/Subs-Package.php and  check whether it says
* Software Version:           SMF 1.1.3                                           *
rather than
* Software Version:           SMF 1.1.2                                           *
which the package was expecting.

Thats what a friend had on his install with 1.1.5 that I've just had to fix on that exact file.
Although I didn't have to do that on my own.

yes it says * Software Version:           SMF 1.1.3     
but where should I change?
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: karlbenson on April 30, 2008, 11:25:21 PM
change the 3 to a 2, then try applying the package again ;)
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: JimM on April 30, 2008, 11:25:49 PM
I have the exact same error.  I've checked and my /Sources/Subs-Package.php says SMF 1.1.3.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: karlbenson on April 30, 2008, 11:26:53 PM
Then as above, change the 1.1.3 to 1.1.2, then try to apply the package again.

I'm hopeful it will resolve it.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: JimM on April 30, 2008, 11:30:27 PM
Changed it and still get the same error.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: maka213 on April 30, 2008, 11:31:19 PM
same here
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: jossanaijr on April 30, 2008, 11:33:39 PM
Quote from: karlbenson on April 30, 2008, 11:25:21 PM
change the 3 to a 2, then try applying the package again ;)
But this is a "text" ? Changed and not worked.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: JimM on April 30, 2008, 11:34:34 PM
It appears that the only changes to the file was back in June 2007 when I applied the upgrage to 1.1.3. 
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: karlbenson on April 30, 2008, 11:35:39 PM
I had the same issue on a friends forum, which I've just upgraded.

When I opened /Sources/Subs-Package.php and it said
* Software Version:           SMF 1.1.3                                           *
rather than
* Software Version:           SMF 1.1.2                                           *

So i changed it, and it worked for me.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: JimM on April 30, 2008, 11:40:17 PM
That's what I did but I still get the error.  Why would it be looking for 1.1.2 if we applied the upgrade to 1.1.3 back in 2007?  Oh well someone will figure it out I guess.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: karlbenson on April 30, 2008, 11:42:25 PM
A fresh install of 1.1.4 has it at 1.1.2.

So I guess there was an edit in the 1.1.3 update that changed that file, but that text change at least wasn't replicated into the 1.1.4 install package.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: JimM on April 30, 2008, 11:46:11 PM
Yep, I just found that myself.  I have the file from a fresh install and am going to FTP that in the place of the one I have and see if that works.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: maka213 on April 30, 2008, 11:47:08 PM
Should i upgrade to the beta instead?
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: JimM on April 30, 2008, 11:48:40 PM
Now I'm really stumped.  I get the same error even with that one.  There must be something else.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: jossanaijr on April 30, 2008, 11:49:02 PM
That's exactly what I'm doing... checking the differences.

EDIT: ok, I gave up...  :(
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: JimM on April 30, 2008, 11:54:43 PM
I'm giving up for tonight also.  I'll have to try again tomorrow.  Good Luck!
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Jumbobeef on May 01, 2008, 03:03:11 AM
I tried to apply this to one of my 1.1.4 forums, which is (almost) default.  No mods, apart from users online today.  It failed and I got this:

Quote1. Execute Modification ./index.php Test successful
2. Execute Modification ./Sources/Admin.php Test failed
3. Execute Modification ./Sources/Calendar.php Test failed
4. Execute Modification ./Sources/Karma.php Test failed
5. Execute Modification ./Sources/Load.php Test successful
6. Execute Modification ./Sources/ManageNews.php Test successful
7. Execute Modification ./Sources/ManagePermissions.php Test successful
8. Execute Modification ./Sources/ManageServer.php Test failed
9. Execute Modification ./Sources/PersonalMessage.php Test successful
10. Execute Modification ./Sources/Post.php Test successful
11. Execute Modification ./Sources/Profile.php Test successful
12. Execute Modification ./Sources/QueryString.php Test successful
13. Execute Modification ./Sources/Recent.php Test failed
14. Execute Modification ./Sources/Register.php Test successful
15. Execute Modification ./Sources/RemoveTopic.php Test failed
16. Execute Modification ./Sources/Search.php Test successful
17. Execute Modification ./Sources/Security.php Test failed
18. Execute Modification ./Sources/Subs-Boards.php Test successful
19. Execute Modification ./Sources/Subs-Compat.php Test successful
20. Execute Modification ./Sources/Subs-Graphics.php Test successful
21. Execute Modification ./Sources/Subs-Members.php Test successful
22. Execute Modification ./Sources/Subs-Package.php Test successful
23. Execute Modification ./Sources/Subs-Post.php Test successful
24. Execute Modification ./Sources/Subs-Sound.php Test successful
25. Execute Modification ./Sources/Subs.php Test successful
26. Execute Modification ./Themes/default/index.template.php Test failed
27. Execute Modification ./Themes/default/Post.template.php Test failed
28. Execute Modification ./Themes/default/Recent.template.php Test failed
29. Execute Modification ./Themes/default/Register.template.php Test successful
30. Execute Modification ./Themes/default/style.css Test successful
31. Execute Modification ./SSI.php Test failed
32. Execute Modification ./Themes/default/languages/index.english.php Test failed
33. Execute Modification ./Themes/default/languages/ModSettings.english.php Test failed
34. Execute Modification ./Sources/QueryString.php Test successful
35. Execute Modification ./Sources/Search.php Test successful
36. Execute Modification ./Sources/Post.php Test successful
37. Execute Modification ./Sources/Subs-Post.php Test successful

Lots of errors there........
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: perplexed on May 01, 2008, 04:40:02 AM
this is weird, I did mine with over 50 mods and it installed successfully first time *scratches head*
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: matasanos on May 01, 2008, 04:54:11 AM
i have the same error...and change 1.1.3 to 1.1.2 doesnt help
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Zetan on May 01, 2008, 05:20:56 AM
Bah!

Quote
An Error Has Occurred!

Session verification failed. Please try logging out and back in again, and then try again.


Tried logging out and back in again, same error.

SMF 1.1.4 / TP 1.0.5 , Quite a few mods installed and a few custom code edits. First time I've had any problem upgrading.


Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Bancherd on May 01, 2008, 05:26:34 AM
Except for the "brd-bug fix" which I had to do manually, everything went smoothly for me.  :D
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Jumpmasterrt on May 01, 2008, 06:47:28 AM
I just upgraded and except for my package manager not working (again, but i think that's my host issue) this is the only other issue I found.....

the highlighted areas USED to say [ Uninstall ] now, nothing.

The red circle? I have no clue. I uploaded the files and that's what happened... it auto installed. It's a previous issue I've addressed in the appropriate forum
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Zetan on May 01, 2008, 07:04:30 AM
Each of the packages you have installed have a file called: package-info.xml

If you open that file and find the line:

<install for="version numbers here">

add ,1.1.5

and this line:

<uninstall for="version numbers here">


Again, add the new version number to be able to uninstall. You need to do this with every package.




Still not managed to update my site, upgrade, update, webinstall do not work and return:
Quote
The package you tried to upload either is not a valid package or has become corrupted.

Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Zetan on May 01, 2008, 07:20:44 AM
Oky.. Thats our site upgraded. Got there eventually :)
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: JimM on May 01, 2008, 09:03:28 AM
Upgraded flawlessly after the changes made by Compuart.  Thanks
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: xrunner on May 01, 2008, 10:05:26 AM
Quote from: JimM on May 01, 2008, 09:03:28 AM
Upgraded flawlessly after the changes made by Compuart.  Thanks

Same here :-)
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: foolinthemoon on May 01, 2008, 10:18:45 AM
hi, my co admin upgraded to 1.1.5 today, and now we've got lots of errors and plenty of issues. She didn't uninstall any mods, and now we can't get access to parts of the forum the mods provided. The address still takes you there, so it's still there. But no one can register and i dont' have the option to uninstall some of the mods. The question i have is.

Is it safe to uninstall the upgrade?
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: JimM on May 01, 2008, 11:31:45 AM
Quote from: Zetan on May 01, 2008, 07:04:30 AM
Each of the packages you have installed have a file called: package-info.xml

If you open that file and find the line:

<install for="version numbers here">

add ,1.1.5

and this line:

<uninstall for="version numbers here">


Again, add the new version number to be able to uninstall. You need to do this with every package.



Did you try this?
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Jumpmasterrt on May 01, 2008, 11:48:13 AM
No not yet, was about to and then post back with the results.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: foolinthemoon on May 01, 2008, 02:39:37 PM
Quote from: JimM on May 01, 2008, 11:31:45 AMDid you try this?

Okay, i did try that, and it worked, however, when i goto uninstall it, it gives me some errors like Test Failed, which i realize might be because of a) the upgrade b) the MANY other mods that have overwritten these files before adding new code or c) something i did which could also be a byproduct of b d) missing files (which shouldnt' be the case!)

I don't know how to successfully uninstall everything i have and reinstall it. Do i have to wait till these mods are upgraded (especially since i went in and manually added 1.1.5 to the package-info.xml) and now my downloads mod shows up twice in the menu!
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Jumpmasterrt on May 01, 2008, 03:46:59 PM
Where do I find the XML file other than inside the .zip file? If that's the only place do I have to unzip, change, rezip and reupload to the server? If so should I FTP it or use Package manager?

**Edit** Well I figued out why some of the packages don't give an uninstall option and others do. The one's that do have the uninstall option do NOT have the SMF version number in the .xml file and the ones that don't give the option do have it.

So I suppose the above question still remains.... how best to edit the .xml file.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: foolinthemoon on May 01, 2008, 04:42:46 PM
Quote from: Jumpmasterrt on May 01, 2008, 03:46:59 PM
Where do I find the XML file other than inside the .zip file? If that's the only place do I have to unzip, change, rezip and reupload to the server? If so should I FTP it or use Package manager?

I know I'm a noob, but... I have a file manager package installed, so i used that to download the file to my desktop, extracted the files, changed the according files with notepad , zipped it back up(made sure they kept the right name)  and re uploaded using the file mananger.

If you have that package, it's worth a shot. and if you have it installed but can't get to it in your admin panel, try adding this behind your address.   /index.php?action=filemanager   It worked for me.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Jumpmasterrt on May 01, 2008, 06:52:21 PM
Yeah, I just FTP'd them and it worked fine. In all cases I added the number instead of changing them. It's all straight now.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: ubastorm on May 02, 2008, 11:44:38 AM
Hi all any help appreciated, I am trying to upgrade our forum from 1.1.4 to 1.1.5 but get the error "The package you are trying to download or install is either corrupt or not compatible with this version of SMF"
I have tinyportal; and some mods installed maybe this is the problem , I hope i don't have to uninstall everything to get the patch working as it as  is a large forum with many members for a gaming community, disruption would cause so many problems.
Any help appreciated greatly.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Jumpmasterrt on May 02, 2008, 03:37:47 PM
Are you trying to do it directly from Package Manager? If so, download it to your computer and then upload with Package Manager and install it that way. It did the same to me.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Manu.G on May 04, 2008, 05:56:22 AM
Hi I tried to upgrade our forum everything looks ok, I only got this message:
Quote31.      Execute Modification      ./SSI.php      Test failed

I'm afraid to click at "install now"  :-\
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: naitram on May 07, 2008, 05:03:28 PM
i must be missing somethin obvious here.....


512: package_flush_cache(): some files are still not writable
File: /home/.sites/28/site1/web/smf/Sources/Subs-Package.php
Line: 1905


2: fopen(/home/.sites/28/site1/web/smf/SSI.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
File: /home/.sites/28/site1/web/smf/Sources/Subs-Package.php
Line: 1901


2: fclose(): supplied argument is not a valid stream resource
File: /home/.sites/28/site1/web/smf/Sources/Subs-Package.php
Line: 1908


2: fopen(/home/.sites/28/site1/web/smf/SSI.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
File: /home/.sites/28/site1/web/smf/Sources/Subs-Package.php
Line: 1901


but.....

ls -al /home/.sites/28/site1/web/smf/Sources/Subs-Package.php
-rw-rw-rw-  1 apache apache 92401 Jun 26  2007 /home/.sites/28/site1/web/smf/Sources/Subs-Package.php
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Sudhakar Arjunan on May 08, 2008, 02:12:29 PM
Quote from: Manu0372 on May 04, 2008, 05:56:22 AM
Hi I tried to upgrade our forum everything looks ok, I only got this message:
Quote31.      Execute Modification      ./SSI.php      Test failed

I'm afraid to click at "install now"  :-\

I had the same error message,

Tried to install ssi manually, but none of the lines were matched.

Checked twice with my ssi.php page but not even a single line matched.

Any help from Team to Overcome it and change from 1.1.4 to 1.1.5.

Thanks in Advance,
Sudhakar, Admin
www.itacumens.com
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Sudhakar Arjunan on May 10, 2008, 04:20:49 AM
Anyone could help to migrate 1.1.5
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: naitram on May 11, 2008, 10:54:13 PM
finally installed, was simple file permissions i overlooked 1 file. once i fixed it the upgared worked fine
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Dreamerzc on May 13, 2008, 02:50:52 AM
Hi Anyone can help.

I downloaded smf_patch_1.0.13_1.1.5_2.0-b3.1.tar but how to upgrade by using this file?

Thank you.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Dreamerzc on May 13, 2008, 03:05:52 AM
Sorry, what means by Local path to SMF:????
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Sudhakar Arjunan on May 13, 2008, 04:25:07 AM
Quote from: Dreamerzc on May 13, 2008, 03:05:52 AM
Sorry, what means by Local path to SMF:????

Hi Dont expect any reply , no one will reply for updates. The team would be busy in updating and not in helping.

See above i have a SSI Failed issue before updating, no reply for week.

Hope you understand it.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Dreamerzc on May 13, 2008, 06:06:24 AM
Quote from: asudhakar on May 13, 2008, 04:25:07 AM
Quote from: Dreamerzc on May 13, 2008, 03:05:52 AM
Sorry, what means by Local path to SMF:????

Hi Dont expect any reply , no one will reply for updates. The team would be busy in updating and not in helping.

See above i have a SSI Failed issue before updating, no reply for week.

Hope you understand it.

Ok noted  :'(
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: naitram on May 13, 2008, 09:27:30 AM
are you even using SSI on your site? if not replace SSI.php with a clean copy from 1.1.4 then do the upgrade
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Sudhakar Arjunan on May 14, 2008, 03:59:25 AM
Quote from: naitram on May 13, 2008, 09:27:30 AM
are you even using SSI on your site? if not replace SSI.php with a clean copy from 1.1.4 then do the upgrade

Am using SSI in my site. if i include a fresh copy then i may loss all the current ssi functions.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Bulakbol on May 14, 2008, 04:15:10 AM
Quote from: asudhakar on May 14, 2008, 03:59:25 AM
Quote from: naitram on May 13, 2008, 09:27:30 AM
are you even using SSI on your site? if not replace SSI.php with a clean copy from 1.1.4 then do the upgrade

Am using SSI in my site. if i include a fresh copy then i may loss all the current ssi functions.

That's the problem. They suggested not to modify the original SSI functions because of future upgrade. They also suggested to copy the original function and modify that copy for you to use.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Sudhakar Arjunan on May 14, 2008, 04:36:06 AM
Quote from: JohnyB on May 14, 2008, 04:15:10 AM

That's the problem. They suggested not to modify the original SSI functions because of future upgrade. They also suggested to copy the original function and modify that copy for you to use.


Yes you are right, when i saw SSI alone failed, i just tried to mod SSI file manually, and found none of the lines to match with the existing one. So i left the plan of Upgrading.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: naitram on May 14, 2008, 09:57:51 AM
not sure what the changes are in SSI.php but you may be able to save your current put in a clean copy and do the upgrade. then put your SSI.php back
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Macfplus on May 16, 2008, 12:22:52 PM
Hi!
When I try to upgrade, here is what I Get:
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Bulakbol on May 16, 2008, 12:35:10 PM
You can manually install the upgrade. That's what I did.  It took me few minutes because lots of the changes change the version number only.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Admiral on May 16, 2008, 02:36:58 PM
Can't open file: 'smf_topics.MYI'. (errno: 145)
File: /home/users/d/drozdik_bence/Sources/MessageIndex.php
Line: 457

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

:'(
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: 303andrewp on May 16, 2008, 02:55:31 PM
Where would I find my "Local Path to SMF"???
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Admiral on May 16, 2008, 03:41:02 PM
Quote from: Admiral on May 16, 2008, 02:36:58 PM
Can't open file: 'smf_topics.MYI'. (errno: 145)
File: /home/users/d/drozdik_bence/Sources/MessageIndex.php
Line: 457

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

:'(
I browsed all forums and with this error you always answer with phpMyAdmin. I can't get that running. It just wont work. please help me some other way. :$
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: 303andrewp on May 18, 2008, 12:32:04 PM
 I
Quote from: Dreamerzc on May 13, 2008, 03:05:52 AM
Sorry, what means by Local path to SMF:????

have the same problem!!!!!!!!!!!!!!!!!!!!
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Bulakbol on May 18, 2008, 11:22:03 PM
If you set up a local forum, then maybe your local path to SMF is in Admin -> Server Settings -> Core Configuration. Maybe it's the Forum url.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: naitram on May 19, 2008, 09:11:42 AM
local path is what directory on the server is the software in. this is not typicaly the same as the URL

goto Adimn->Server Settings

look for SMF Directory

Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: b4pjoe on May 21, 2008, 01:30:47 PM
I get this error when trying to install. It fails on modifying "post.template.php". Any ideas?

Installing this package will perform the following actions:
Type Action Description
1. Execute Modification ./index.php Test successful
2. Execute Modification ./Sources/Admin.php Test successful
3. Execute Modification ./Sources/Calendar.php Test successful
4. Execute Modification ./Sources/Karma.php Test successful
5. Execute Modification ./Sources/Load.php Test successful
6. Execute Modification ./Sources/ManageNews.php Test successful
7. Execute Modification ./Sources/ManagePermissions.php Test successful
8. Execute Modification ./Sources/ManageServer.php Test successful
9. Execute Modification ./Sources/PersonalMessage.php Test successful
10. Execute Modification ./Sources/Post.php Test successful
11. Execute Modification ./Sources/Profile.php Test successful
12. Execute Modification ./Sources/QueryString.php Test successful
13. Execute Modification ./Sources/Recent.php Test successful
14. Execute Modification ./Sources/Register.php Test successful
15. Execute Modification ./Sources/RemoveTopic.php Test successful
16. Execute Modification ./Sources/Search.php Test successful
17. Execute Modification ./Sources/Security.php Test successful
18. Execute Modification ./Sources/Subs-Boards.php Test successful
19. Execute Modification ./Sources/Subs-Compat.php Test successful
20. Execute Modification ./Sources/Subs-Graphics.php Test successful
21. Execute Modification ./Sources/Subs-Members.php Test successful
22. Execute Modification ./Sources/Subs-Package.php Test successful
23. Execute Modification ./Sources/Subs-Post.php Test successful
24. Execute Modification ./Sources/Subs-Sound.php Test successful
25. Execute Modification ./Sources/Subs.php Test successful
26. Execute Modification ./Themes/default/index.template.php Test successful
27. Execute Modification ./Themes/default/Post.template.php Test failed
28. Execute Modification ./Themes/default/Recent.template.php Test successful
29. Execute Modification ./Themes/default/Register.template.php Test successful
30. Execute Modification ./Themes/default/style.css Test successful
31. Execute Modification ./SSI.php Test successful
32. Execute Modification ./Themes/default/languages/index.english.php Test successful
33. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
34. Execute Modification ./Sources/QueryString.php Test successful
35. Execute Modification ./Sources/Search.php Test successful
36. Execute Modification ./Sources/Post.php Test successful
37. Execute Modification ./Sources/Subs-Post.php Test successful
38. Execute Modification ./Sources/Subs-Package.php Test successful
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Bulakbol on May 21, 2008, 01:48:20 PM
You can go ahead with the upgrade and manually edit your Post.template.php. The "patch smf 1.1.4 to 1.1.5" does the following to Post.template.php.

Code (search for) Select
// Version: 1.1; Post
Code (replace) Select
// Version: 1.1.5; Post

Code (search for) Select
<td class="windowbg" width="100%">
<div id="preview_body" class="post">', empty($context['preview_message']) ? '' : $context['preview_message'], '</div>

Code (replace) Select
<td class="post" width="100%" id="preview_body">
', empty($context['preview_message']) ? str_repeat('<br />', 5) : $context['preview_message'], '


Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: b4pjoe on May 22, 2008, 03:08:28 AM
Quote from: JohnyB on May 21, 2008, 01:48:20 PM
You can go ahead with the upgrade and manually edit your Post.template.php. The "patch smf 1.1.4 to 1.1.5" does the following to Post.template.php.

Code (search for) Select
// Version: 1.1; Post
Code (replace) Select
// Version: 1.1.5; Post

Code (search for) Select
<td class="windowbg" width="100%">
<div id="preview_body" class="post">', empty($context['preview_message']) ? '' : $context['preview_message'], '</div>

Code (replace) Select
<td class="post" width="100%" id="preview_body">
', empty($context['preview_message']) ? str_repeat('<br />', 5) : $context['preview_message'], '


Thanks for the reply. It seems the second change listed there has already been made to my Post.template.php file. Installed, made the other change to Post.template.php file and all seems to be well. Thanks.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: greyknight17 on May 31, 2008, 11:55:33 PM
Quote from: Dreamerzc on May 13, 2008, 02:50:52 AM
Hi Anyone can help.

I downloaded smf_patch_1.0.13_1.1.5_2.0-b3.1.tar but how to upgrade by using this file?

Thank you.
What version are you using? If 1.1.4 you can just get the patch from the Admin->Packages area and apply it from there. The local path is the path to your SMF directory (ex: public_html/smf).
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Captkaos on July 21, 2008, 04:48:42 PM
I am getting the following error after upgrading via the Admin/Packages update:

Table './chevy/smf_log_search_results' is marked as crashed and should be repaired
File: /vservers/chevy/htdocs/smforum/Sources/Search.php
Line: 1385

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.5, while your database is at version 1.1.2. The above error might possibly go away if you execute the latest version of upgrade.php.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: jossanaijr on July 21, 2008, 05:17:25 PM
You can try to fix it in your CPANEL.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Captkaos on July 21, 2008, 06:24:14 PM
Server CPANEL? or on the forum?
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Captkaos on July 24, 2008, 10:27:18 AM
Anyone?  the search funtion on my board is giving the above error and I don't know how to go about updating the database.  The package intalled fine with no errors when I ran  it.  Should it not have updated the database at the same time?
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Captkaos on July 25, 2008, 10:48:29 AM
Do I need to start a new post on this?
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Rumbaar on July 27, 2008, 10:53:16 PM
Quote from: Captkaos on July 25, 2008, 10:48:29 AM
Do I need to start a new post on this?
As with all new issues and not the original thread creator, yes it's best to start your own topic.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: naitram on July 28, 2008, 09:47:57 AM
Quote from: Captkaos on July 25, 2008, 10:48:29 AM
Do I need to start a new post on this?

you could try seraching the SMF site for those errors
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: greyknight17 on August 02, 2008, 10:07:43 PM
You need to login to your webhost's control panel (usually cPanel) and go into phpMyAdmin (http://www.simplemachines.org/community/index.php?topic=21919.0). Click on your database and then check the smf_log_search_results entry. Scroll down to the bottom and under the With selected drop down menu, choose repair table.

If you still need help on this, create a new topic since you are not the original topic starter and it seems to be abandoned.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Gent on August 04, 2008, 08:36:00 AM
I'm not a IT wizard but I've always been able to keep my forum up to date .. until I tried upgrading to 1.1.5  :'(

Can someone help me please? I am running 1.1.4 so I should be able to upgrade from the administrator panel in my forum.  When I click on 'upgrade' I get three error messages (In Dutch so I'll translate them) and the process stops. It strongly adivises not to continue with the upgrade.

1. Voer aanpassing uit smf_1-1-4_to_1-1-5_patch.mod Modificatieverwerkingsfout
2. Voer aanpassing uit smf_1-1-5_can_fail.xml Modificatieverwerkingsfout
3. Voer aanpassing uit - Modificatieverwerkingsfout

"Voer aanpassing uit" means something like Execute adaptation or modification
"Modificatieverwerkingsfout" means Modification process error

Can anyone help me please, I'd like to keep my forum up to date.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: naitram on August 04, 2008, 09:06:27 AM
what appears in your forum error log when you reach this point?
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Gent on August 04, 2008, 09:19:29 AM
This is the message from the error log:

administrator   Today 15:18:24 
84.194.136.250     a771fb39ae7c47bf6820fa3d8873f5ef 

http://www.hififorum.nl/index.php?action=packages;sa=install;package=smf_patch_1.0.13_1.1.5_2.0-b3.1_4.zip 

8: Undefined index: package_readme
File: /var/www/vhosts/hififorum.nl/httpdocs/Sources/Packages.php
Line: 294
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: naitram on August 04, 2008, 09:37:54 AM
i did a search on package_readme and most common fix was permissions

in the Packages directory
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Gent on August 04, 2008, 10:12:13 AM
After I try to perfom the upgrade, a zip package appears in the Packages directory.
The name is : smf_patch_1.0.13_1.1.5_2.0-b3.1.zip

That file has read and write permissions for Owner, Group and All Users but no Execute permissions. If I try to change that it gives me an error message.

In the zip package, there are six files:

package-info.xml
smf_1-0-12_to_1-0-13_patch.mod
smf_1-0-13_can_fail.xml
smf_1-1-4_to_1-1-5_patch.mod
smf_1-1-5_can_fail.xml
smf_2-0-b3_to_2-0-b3-1_patch.mod

And I have absolutely no idea what to do with these
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: naitram on August 04, 2008, 10:22:12 AM
what are permissions on temp directoy under Packages?
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Gent on August 04, 2008, 10:27:53 AM
There is no temp directory under Packages. There is only a directory called backups.
That one has read, write and execute permissions for everybody.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: fmofmpls on August 10, 2008, 09:11:08 AM
Would really like to install the upgrade, but with seven failed tests, installing the patch seems very risky. Any assistance would be greatly appreciated. Thanks!

The following report is from my package manager.

Installations actions for "SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./index.php    Test successful
2.    Execute Modification    ./Sources/Admin.php    Test successful
3.    Execute Modification    ./Sources/Calendar.php    Test successful
4.    Execute Modification    ./Sources/Karma.php    Test successful
5.    Execute Modification    ./Sources/Load.php    Test failed
6.    Execute Modification    ./Sources/ManageNews.php    Test successful
7.    Execute Modification    ./Sources/ManagePermissions.php    Test failed
8.    Execute Modification    ./Sources/ManageServer.php    Test successful
9.    Execute Modification    ./Sources/PersonalMessage.php    Test successful
10.    Execute Modification    ./Sources/Post.php    Test successful
11.    Execute Modification    ./Sources/Profile.php    Test failed
12.    Execute Modification    ./Sources/QueryString.php    Test successful
13.    Execute Modification    ./Sources/Recent.php    Test successful
14.    Execute Modification    ./Sources/Register.php    Test successful
15.    Execute Modification    ./Sources/RemoveTopic.php    Test successful
16.    Execute Modification    ./Sources/Search.php    Test successful
17.    Execute Modification    ./Sources/Security.php    Test failed
18.    Execute Modification    ./Sources/Subs-Boards.php    Test successful
19.    Execute Modification    ./Sources/Subs-Compat.php    Test successful
20.    Execute Modification    ./Sources/Subs-Graphics.php    Test successful
21.    Execute Modification    ./Sources/Subs-Members.php    Test successful
22.    Execute Modification    ./Sources/Subs-Package.php    Test successful
23.    Execute Modification    ./Sources/Subs-Post.php    Test successful
24.    Execute Modification    ./Sources/Subs-Sound.php    Test successful
25.    Execute Modification    ./Sources/Subs.php    Test failed
26.    Execute Modification    ./Themes/default/index.template.php    Test failed
27.    Execute Modification    ./Themes/default/Post.template.php    Test successful
28.    Execute Modification    ./Themes/default/Recent.template.php    Test successful
29.    Execute Modification    ./Themes/default/Register.template.php    Test successful
30.    Execute Modification    ./Themes/default/style.css    Test successful
31.    Execute Modification    ./SSI.php    Test failed
32.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
33.    Execute Modification    ./Themes/default/languages/ModSettings.english.php    Test successful
34.    Execute Modification    ./Sources/QueryString.php    Test successful
35.    Execute Modification    ./Sources/Search.php    Test successful
36.    Execute Modification    ./Sources/Post.php    Test successful
37.    Execute Modification    ./Sources/Subs-Post.php    Test successful
38.    Execute Modification    ./Sources/Subs-Package.php    Test successful
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Rumbaar on August 10, 2008, 05:58:25 PM
Test failed just means that previous mods you've installed have alter the code in such a way the automated installation process for those files cannot be done.

Be sure to download those files via FTP to your computer, then using a decent text editor (Notepad++) make the appropriate edits for the upgrade manually (Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402)) to those specific files.  Then once 100% done run the upgrade, ignore errors and proceed. Then upload those altered files after update.

PS: Posting in an already solved thread will result in less chance for support.  Please start your own in future.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: fmofmpls on August 10, 2008, 06:32:29 PM
Thanks for the support! I will follow your instructions impeccably.

BTW, sorry about posting in the "solved thread". I never saw anywhere that said this thread had been closed (or solved). Maybe I missed it somewhere along the way? Didn't see it at the tail end of the board before I posted.  ???

edit - Never mind. Now I see it at the index board. My bad.
Title: Re: Upgrading 1.1.4 to 1.1.5 problem
Post by: Rumbaar on August 10, 2008, 06:37:07 PM
Be sure to backup before doing any major edits of course.

Yes it can be tricky to notice, but any thread that has a 'solved' tick as it's message icon has been deemed solved, FYI.