Front Page Upload form will not work

Phoca Gallery - image gallery extension
klem
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 30 Oct 2008, 23:38

Re: Front Page Upload form will not work

Post by klem »

Well I checked the folder and file attributes. The images, Phocagallery and thumbs folders are set to 777. The uploaded image files are set to 775, see attached screenshot. All the files in the phocagallery were uploaded by ftp client or via the back end Media manager - which won't work now. I think that may be to do with the Flash uploader setting which I have tried to change to see if that helps. What has also changed is that I can now browse files in multi-add (I couldn't before) although the upload still fails.

I'm really stuck now as I can't see what the problem is :(

I can't upload through Media Manager, Gallery/Add Multiple or the front end.

If it helps, here's my config file again (I've removed the 'private' data)
================================================
<?php
class JConfig {
var $offline = '0';
var $editor = 'tinymce';
var $list_limit = '20';
var $helpurl = 'http://help.joomla.org';
var $debug = '0';
var $debug_lang = '0';
var $sef = '1';
var $sef_rewrite = '1';
var $sef_suffix = '0';
var $feed_limit = '10';
var $secret = '*********************;
var $gzip = '0';
var $error_reporting = '-1';
var $xmlrpc_server = '0';
var $log_path = '****************************************';
var $tmp_path = '**************************************';
var $live_site = '';
var $offset = '0';
var $caching = '0';
var $cachetime = '15';
var $cache_handler = 'file';
var $memcache_settings = array();
var $ftp_enable = '1';
var $ftp_host = '***********************';
var $ftp_port = '21';
var $ftp_user = 'fbjoomla';
var $ftp_pass = '*******************';
var $ftp_root = '*****************************';
var $dbtype = 'mysql';
var $host = 'sql4.hosting365.ie';
var $user = '********************';
var $db = '*************************';
var $dbprefix = 'jos_fb';
var $mailer = 'mail';
var $mailfrom = '****************************';
var $fromname = '************************************;
var $sendmail = '/usr/sbin/sendmail';
var $smtpauth = '0';
var $smtpuser = '';
var $smtppass = '';
var $smtphost = 'localhost';
var $MetaAuthor = '1';
var $MetaTitle = '0';
var $lifetime = '15';
var $session_handler = 'database';
var $password = '**********************';
var $sitename = '***************************************';
var $MetaDesc = '***************************';
var $MetaKeys = 'IL2, 56 Squadron, Firebirds, flight, sim, airplane, aircraft, history, squadron, online, game, gaming, RAF, fighter, air combat';
var $offline_message = 'This site is down for maintenance. Please check back again soon.';
}
?>
==================================================

Are there any other config etc files I should be looking at?

klem
Last edited by klem on 08 Nov 2008, 18:26, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49279
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Front Page Upload form will not work

Post by Jan »

??? then maybe settins on server need to be changed, maybe the ownership of the files or folders ? really no idea :(
If you find Phoca extensions useful, please support the project
klem
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 30 Oct 2008, 23:38

Re: Front Page Upload form will not work

Post by klem »

Hi Jan

I'm beginning to think I don't really understand the process. I thought, "create the folders, give permissions, upload and hey presto... image will be viewable".

I have set Enable FTP to No as it was right at the beginning. I have created subfolders under Phocagallery including its own thumbs subfolder. I did this in Filezilla as there is no way in phocagallery or front end. I have checked that both folders are 777. The main subfolder has a menu item under Gallery.

Now at the front end it seems to upload a file but it does not display in the folder, only a 'No Entry' image. In the back end Components/phocagallery it appears again with a 'No Entry' sign. In Filezilla it is in the folder and can be seen with Filezilla's View/Edit.

I believe I have the folders and menu set up properly so why doesn't it display at the front or back end? Do all front end uploads have to be 'Adminned' in some way?

klem
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Front Page Upload form will not work

Post by caro84g »

Just some thoughts...

is the setting 'thumbnails creation' (in components >> phoca gallery >> control panel >> parameters) still enabled?

are there in filezilla some files in the 'thumbs' folder (or are only the orginals uploaded?)

Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
klem
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 30 Oct 2008, 23:38

Re: Front Page Upload form will not work

Post by klem »

OMG!!

Thanks caro84g.
I know I checked that a couple of weeks ago but I must have unset it sometime since although I don't remember doing it.

Front upload is working ok now.

Thanks again and to Jan for his patience. :|

klem
Post Reply