SimplePortal

Support => Install and Upgrade => Topic started by: enmom on November 15, 2013, 05:17:00 PM

Title: Problem uploading 2.3.5
Post by: enmom on November 15, 2013, 05:17:00 PM
I have the 2.0.6 smf and using the package manager to upload the portal. I'm getting the following error:

Package upload failed due to the following error:
"Although the package was downloaded to the server it appears to be empty. Please check the Packages directory, and the "temp" sub-directory are both writable. If you continue to experience this problem you should try extracting the package on your PC and uploading the extracted files into a subdirectory in your Packages directory and try again. For example, if the package was called shout.tar.gz you should:
1) Download the package to your local PC and extract it into files.
2) Using an FTP client create a new directory in your "Packages" folder, in this example you may call it "shout".
3) Upload all the files from the extracted package to this directory.
4) Go back to the package manager browse page and the package will be automatically found by SMF."

I don't quite understand what it means by that. (I'm a bit challenged in that department)  I've not had any problems like this with any of the mods I've tried to upload. Can someone tell me what possibly might be wrong?

Thanks for your help.
Title: Re: Problem uploading 2.3.5
Post by: AngelinaBelle on November 19, 2013, 12:56:44 PM
How are you getting the package file to the host computer?
Did you try to get it directly from the package server, or did you download to your PC and upload from the PC to the host computer?  Direct download has sometimes been a problem for some host servers, because of something to do with how they are set up and what SMF is expecting.

If you have attempted direct download, please try again, downloading to PC and then uploading to the host computer, and see if that works any better.

If that does not work, please try looking at the size of the package file.  Is it the correct size, or was something lost during download or upload?

Can you find the package file in your Packages directory within your SMF forum?

For more information on permissions, please read http://simpleportal.net/index.php?action=docs;area=solving_install_problems

That's a lot to take in all at once.
Please check these things out, and if your problem is still not solved, please describe exactly what you tried and what the result was.

If there is something to do with permissions, then fixing it will make future mod installs/uninstalls much easier.  If we cannot figure it out, then the part about extracting and uploading to the Packages directory may be just what you need to do.  But we'll first try to make the simpler things work.  OK?
Title: Re: Problem uploading 2.3.5
Post by: enmom on November 21, 2013, 01:50:52 PM
Thank you for your reply. I did manage to get it uploaded. I went to the SMF support forum and downloaded there then uploaded using the package manager and had no problems.

I do seem to have another problem and not sure if this is the right place to ask or not so if not in the right place please let me know or just move it.

I'm still working in maintenance mode but have noticed when I go to the forum the top category (only) has moved all the way to the left of the board as if it is a 'left category? I tried just removing it but then the next one will do the same thing. I'm just a bit nervous that when I put it 'live' that it will continue to look that way for everyone. Is there something that I might be missing? Everything else seems to be coming right along and am very pleased with it. Just need to figure this out........Thanks
Title: Re: Problem uploading 2.3.5
Post by: [SiNaN] on January 02, 2014, 05:48:41 PM
Sorry for the very late response. Do you still have this problem? If yes, could you please elaborate? Some screenshots would help a lot too.
Title: Re: Problem uploading 2.3.5
Post by: enmom on January 09, 2014, 06:58:30 PM
Thanks for the reply and I'll try to attach a screen shot. You can see that the top category is suppose to go all the way across like the one under it but it doesn't for some reason? I just deleted it and created the 'contact' that is there now. I've pretty much gotten everything else working ok and am liking the portal.

Title: Re: Problem uploading 2.3.5
Post by: [SiNaN] on January 10, 2014, 02:18:38 AM
I see. That looks like a theme issue but it's difficult to debug without seeing the actual code. If you would like, I could check the code out for you if you can send me a personal message with a link to your forum and the necessary (temporary) access required to reproduce the issue.
Title: Re: Problem uploading 2.3.5
Post by: [SiNaN] on January 10, 2014, 01:41:08 PM
The following is the offending code:

Themes/ClearSky_SMF2-Final/BoardIndex.template.php

Code: [Select]
         echo '<tbody><tr><td colspan="4">';
   //Display ads Between cats
   if (function_exists("show_category"))
   {
      $ads = show_category($category['id']);
      if(!empty($ads))
         if($ads['type']==0)
            echo $ads['content'];
         else
            eval($ads['content']);
      unset($ads);
   }
   echo '         </td></tr></tbody>';

That code is inserting <tbody> elements outside of <table> tags and since SimplePortal makes use of <table> tags for the layout, things get messed up. If you just remove those lines there shouldn't be any problems and it'll also fix tons of XHTML validation errors you have on that page. You can ask the author of the mod (it's again the ads mod) for a fix. I've spent half of my life fixing problems caused by other mods already.
Title: Re: Problem uploading 2.3.5
Post by: enmom on January 10, 2014, 01:55:04 PM
Thank you for taking the time to check things out.....So if I remove just what you have posted (all of it?) then everything should be ok? It won't effect the ads mod or anything else? Just want to make sure I don't mess anything else up.
Title: Re: Problem uploading 2.3.5
Post by: [SiNaN] on January 10, 2014, 02:15:18 PM
Yeah, you need to remove all of the code I quoted above. It won't cause any problems. The only side effects are that you won't be able to display ads between categories (I think that's what that piece of code does) and when you're uninstalling ads mod, it'll complain that it can't find a piece code that's supposed to be in BoardIndex.template.php but you should just ignore it since you remove it manually anyway. If you worry about those side effects, you'll have to ask the ads mod author to fix that issue.
Title: Re: Problem uploading 2.3.5
Post by: enmom on January 10, 2014, 02:46:47 PM
Ok that's good to know and thanks again for your help.
Title: Re: Problem uploading 2.3.5
Post by: [SiNaN] on January 10, 2014, 02:48:39 PM
You're welcome. I'll be marking this one as solved then. :)
SimplePortal 2.3.8 © 2008-2024, SimplePortal