Impossibilité de mettre en ligne des fichiers à télécharger avec PhocaDownload

Réduire
X
 
  • Filtrer
  • Heure
  • Afficher
Tout effacer
nouveaux messages

  • [RÉGLÉ] Impossibilité de mettre en ligne des fichiers à télécharger avec PhocaDownload

    Bonjour,
    Je gère un site permettant de télécharger des fichiers (sons, texte) sous joomla 2.5. J'utilise PhocaDownload depuis plusieurs années et jusqu'à présent je n'ai jamais eu de problème (plus d'une cinquantaine de fichiers téléchargeables).
    Je rentre de vacances et j'ajoute quelques fichiers avec "fichiers multiples" de Phoca (comme je fais d'habitude).
    Le lien vers ces fichiers apparaît bien sur le site mais lorsque je clique sur celui-ci une erreur 500 apparaît ((voir le message ci-dessous). Je précise que tous les anciens fichiers mis en ligne de cette façon sont accessibles.
    Pouvez-vous m'aider ?
    Cordialement
    JC
    Cliquez sur l'image pour l'afficher en taille normale

Nom : erreur 500.jpg 
Affichages : 1 
Taille : 16,5 Ko 
ID : 1819636
    Dernière édition par jchermant à 17/09/2013, 17h36

  • #2
    Re : Impossibilité de mettre en ligne des fichiers à télécharger avec PhocaDownload

    Bonjour,

    quelles sont les versions exactes de Joomla! et de PhocaDownload ?
    As tu regardé cette page :
      This guide describes how to solve installation problems in Joomla! 1.5 or in Joomla! 2.5. If you use Joomla! 3 or newer version, use standard Joomla! extension manager to install or update the components. In case of problems with large components, see: How to install large components with help of FTP in Joomla!   Phoca Download is a large component, so problems can occur on some servers while installation. Mostly there are two main problems.     Phoca Download tables were not created while installing Mostly you get the following system message "Error while Saving Phoca Download Categories" or this PHP error message: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource ... while using Phoca Download. Getting this system message or php error message is caused by not installed Phoca Download tables in the Joomla!. Please enable debug mode in your Joomla! administration site and take a look at your database to see if the installation script created Phoca Download tables correctly. If not, you must create them manually. The SQL queries, which install Phoca Download tables into your database, are saved in install.bak  file. You will find this file in the Phoca Download component ZIP package. Since Joomla! 3 you will find the SQL files in ZIP package in folder: install/sql/mysql/   If you are installing Phoca Download, just copy all SQL queries and run them in e.g. phpMyAdmin. But beware, because the names of tables are prepared for system installation, so they contain '#__' instead of your table prefix, you must rename them, e.g.: #__phocadownload to TablePrefix_phocadownload TablePrefix is the prefix you selected while installing Joomla! . Make sure that you delete #_ at the start of the line; you only need one _ . Do this for all queries.   If you are updating Phoca Download, it means that some tables from previous installation of Phoca Download exist, so you must run SQL queries of tables which don't currently exist in the database. The automatic upgrade script knows that it should add only the new tables... but if you got an error while upgrading, or you choose to upgrade manually you will have to run the SQL query manually. You should use install.bak or install.utf8.sql file, but here there are SQL queries for all tables, so you must run only SQL queries for the new tables , not all tables, because if you add the existing tables then these existing tables will be overwritten . You will find the install.bak or install.utf8.sql file in the Phoca Download component ZIP package. Just copy the SQL queries of new tables and run them in e.g. phpMyAdmin. But be aware, because the names of tables are prepared for system installation, so they contain '#__' instead of your table prefix, you must rename them, e.g.: #__phocadownload to TablePrefix_phocadownload TablePrefix is the prefix you selected while installing Joomla! . Make sure that you delete #_ at the start of the line; you only need one _ If you have all tables in your database check the columns of your tables. E.g. in Phoca Download version 1.1.0 there is new colum: date and this should be added into table: #__phocadownload_sections. In case you are upgrading e.g. from 1.0.5 to 1.1.0 and you got some error message while automatically upgrading of Phoca Download tables, check the #_phocadownload_sections table and if date column is missed, then run the SQL query for 1.1.0 version: ALTER TABLE `#__phocadownload_sections` ADD `date` datetime NOT NULL default '0000-00-00 00:00:00' AFTER `access`; Phoca Download is not installed and blank page is displayed If you get blank page while installing Phoca Download. It can be caused by not enough PHP Memory or CPU on your server. Installation procedure in Joomla! doesn't have enough time for unzipping Phoca Download ZIP file. If you are using Joomla! 1.6 or newest version, see this article: How to install large components with help of FTP in Joomla! The following guide is obsolete. In this case the best way how to install Phoca Download is uploading data via FTP. But it is not all you need to do because some information about Phoca Download should be stored in Joomla!. You should do the following steps : 1.Download the latest Phoca Download ZIP file and unzip it somewhere on your PC. E.g. create phocadownload_tmp folder on your PC and unzip the file here. 2. Create the following folders on your server : components/com_phocadownload administrator/components/com_phocadownload images/phocadownload 3. Copy all folders and files from phocadownload_tmp folder into your server's folder: administrator/components/com_phocadownload 4. Copy all files which are saved in front folder on your PC into your server's folder: components/com_phocadownload 5. Copy all files which are saved in languagefolder on your PC into your server's folders: language administrator/language Now all needed files should be saved on your server. 6. Download com_phocadownload_ftp_install.zip file from Phoca Download download site and install it in your Joomla! administration site: Go to Extensions » Install/Uninstall. Now you are in Extensions Manager. Click on: Upload Package File - select the com_phocadownload_ftp_install.zip file from your disc and click on Upload File  &Install. This file is very small. It doesn't contain Phoca Download files , so there shouldn't be any problem with PHP Memory or CPU anymore. After installation you can select if you want Install or Upgrade Phoca Download.  
    Pour apprendre à construire votre site web avec Joomla 3 : Joomla3! Le Livre Pour Tous : http://cinnk.com/joomla/3/le-livre-pour-tous

    Référencement Joomla! 10 astuces pour référencer son site web https://cinnk.com/articles/referencement-joomla-10-astuces-pour-referencer-son-site-web

    Créez votre boutique en ligne avec Joomla! & HikaShop http://cinnk.com/boutique/livres/cre...la-et-hikashop

    Commentaire


    • #3
      Re : Impossibilité de mettre en ligne des fichiers à télécharger avec PhocaDownload

      Envoyé par SimonG Voir le message
      Bonjour,

      quelles sont les versions exactes de Joomla! et de PhocaDownload ?
      As tu regardé cette page :
      http://www.phoca.cz/documents/17-pho...blem-solving68
      Merci SimonG,
      les versions sont à jour. En fait j'ai réglé le problème : il s'agissait d'un nom de fichier trop long sans doute puisqu'en le raccourcissant le site fonctionne maintenant.
      Je vais mettre problème réglé dans l'en-tête. Encore une fois merci.
      Très cordialement
      Jean Claude

      Commentaire

      Annonce

      Réduire
      Aucune annonce pour le moment.

      Partenaire de l'association

      Réduire

      Hébergeur Web PlanetHoster
      Travaille ...
      X