News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

The file you are uploading already exists on the server

Started by jsx, November 16, 2018, 02:31:08 PM

Previous topic - Next topic

jsx

Hi,

I have translated two modifications for my language. I have created installation packages, but unfortunately I can not send two packages as a package and install them because this error occurs:

QuoteAn Error Has Occurred!

The file you are uploading already exists on the server. Please delete it first then try again.

There is no package on the FTP server that I want to install. So I do not know why this error occurs. Maybe this is an error in SMF? Please help.

shawnb61

Browse your list of packages in the Package Manager & look there. 

I'm pretty sure this is because you can't have two packages with the exact same name loaded into the package manager.  This is why most packages have a version number to differentiate them. 
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

jsx

QuoteI'm pretty sure this is because you can't have two packages with the exact same name loaded into the package manager.

These packages have different names, so why here the incompatibility is?

Shoutbox_CR_PL.zip

OharaYTEmbed_PL.zip

Contents package-info.xml for Shoutbox_CR_PL:

<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
   <name>SMFPacks Shoutbox Pro PL</name>
   <id>js</id>
   <type>modification</type>
   <version>1.0</version>
   <install>
      <require-file name="Shoutbox.polish-utf8.php" destination="$languagedir" />
   </install>
   
   <uninstall>
      <remove-file name="$languagedir/Shoutbox.polish-utf8.php" />
   </uninstall>
</package-info>


Contents package-info.xml for OharaYTEmbed_PL:

<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
   <name>Ohara YouTube Embed PL</name>
   <id>js</id>
   <type>modification</type>
   <version>1.0</version>
   <install>
      <require-file name="OharaYTEmbed.polish-utf8.php" destination="$languagedir" />
   </install>
   
   <uninstall>
      <remove-file name="$languagedir/OharaYTEmbed.polish-utf8.php" />
   </uninstall>
</package-info>


QuoteThis is why most packages have a version number to differentiate them.

So when I changed the version in one package-info.xml file from 1.0 on 1.1 there is no longer a discrepancy, why is this happening? After all every package is a separate installation package. ??? I also have a View Only Boards PL 1.0 package installed in packages and this error does not occur for this package. This package does not cause inconsistency with these two.

SychO

Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

jsx


Advertisement: