News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Upgrading 1.1.4 to 1.1.5 problem

Started by maka213, April 30, 2008, 10:57:15 PM

Previous topic - Next topic

maka213

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.

jossanaijr

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... ???

karlbenson

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

!Hachi!

re try it from admin panel.whats wrong with /
here in first code.
.\Sources/Subs-Package.php 
Happy Ramadan

jossanaijr

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?

karlbenson

change the 3 to a 2, then try applying the package again ;)

JimM

I have the exact same error.  I've checked and my /Sources/Subs-Package.php says SMF 1.1.3.
Jim "JimM" Moore
Former Support Specialist

karlbenson

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.

JimM

Changed it and still get the same error.
Jim "JimM" Moore
Former Support Specialist


jossanaijr

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.

JimM

It appears that the only changes to the file was back in June 2007 when I applied the upgrage to 1.1.3. 
Jim "JimM" Moore
Former Support Specialist

karlbenson

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.

JimM

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.
Jim "JimM" Moore
Former Support Specialist

karlbenson

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.

JimM

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.
Jim "JimM" Moore
Former Support Specialist

maka213

Should i upgrade to the beta instead?

JimM

Now I'm really stumped.  I get the same error even with that one.  There must be something else.
Jim "JimM" Moore
Former Support Specialist

jossanaijr

#18
That's exactly what I'm doing... checking the differences.

EDIT: ok, I gave up...  :(

JimM

I'm giving up for tonight also.  I'll have to try again tomorrow.  Good Luck!
Jim "JimM" Moore
Former Support Specialist

Advertisement: