ChronoEngine Forums
Welcome, Guest
Please Login or Register.    Lost Password?
For ALL the people with file upload problems ! (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: For ALL the people with file upload problems !
#5470
raevana (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:For ALL the people with file upload problems ! 4 Months, 3 Weeks ago Karma: 0  
Hi Bob and thanks for your reply.

Yes, the file shows up as 33KB in the Upload folder.

Now I need to download the file to my local PC for use.
The script was edited to set the permissions to 644. But when I look at the file in FTP, the permissions are shown as -w----r-T.
If I try to download FTP gives the 550 error message: Cannot open, permission denied.

So I went back into the script and changed the rights to 777. Now when I upload a new file it shows up in the Upload folder with -wxrw--wt. If I try to FTP the file to my local PC I still get the 550 error message: Cannot open, permission denied.

How can I download the file for use on my PC? Is it an ownership issue?

Thanks, Ruth
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5471
raevana (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:For ALL the people with file upload problems ! 4 Months, 3 Weeks ago Karma: 0  
Yes, the file does upload to the "Upload" directory.

I followed the instructions for changing the rights to the file to 644. When the file uploads it now shows the rights as:
-w----r--t or 204

I edited the script to change them to 777. When the file uploads it shows the rights as: -wxrw----t (362).

In both cases, when I try to ftp the file to my local PC I get :

550 Can't open 20080208085806_chronoforms.txt: Permission denied
Error: Download failed

How can I download the file so it can be used locally?

Thanks,
Ruth
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#7103
Vermillion (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:For ALL the people with file upload problems ! 3 Months ago Karma: 0  
Can anyone show me a example for a complete upload script?^^

sorry if this question is already asked but i just fly over the thread because read a lot of english text is exertive...

i searched in diffrent other forums and looked for finished scripts with google but i didn't found... hope you can help me
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#7107
admin (Admin)
Admin
Posts: 1570
graphgraph
User Online Now Click here to see the profile of this user
Re:For ALL the people with file upload problems ! 3 Months ago Karma: 22  
Hi Vermillion,

Add this code to the html box : <input type="file" name="file"> , now follow the uploads section tab guidelines and you can look for some extra details too in the FAQs section here on the site or search the forums for "type="file"" and you will get lots of code results posted by users about this

Cheers

Max
 
Report to moderator   Logged Logged  
 
ChronoForms Developer Thanks for using ChronoForms.
If you have any problems with ChronoForms please tell us.
If you like ChronoForms please post a review at Joomla.org
  The administrator has disabled public write access.
#7122
Vermillion (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:For ALL the people with file upload problems ! 3 Months ago Karma: 0  
thx a lot^^

Now nearly everything works perfectly... the user can choose the file which he'd like to upload and can klick on submit and there is no error message anymore

but now there is a problem at the backend...
i get the form with name, description and everything i set. but the file is given with the local path e.g.
Code:

C\\files\\myexample.tar.gz
how can i get the path on the server? or isn't the file uploaded yet?<br><br>Post edited by: Vermillion, at: 2008/04/01 10:08
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#7216
Actor (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
SOLVED:For ALL the people with file upload problem 3 Months ago Karma: 0  
raevana wrote:
QUOTE:
Hi Bob and thanks for your reply.

Yes, the file shows up as 33KB in the Upload folder.

Now I need to download the file to my local PC for use.
The script was edited to set the permissions to 644. But when I look at the file in FTP, the permissions are shown as -w----r-T.
If I try to download FTP gives the 550 error message: Cannot open, permission denied.

So I went back into the script and changed the rights to 777. Now when I upload a new file it shows up in the Upload folder with -wxrw--wt. If I try to FTP the file to my local PC I still get the 550 error message: Cannot open, permission denied.

How can I download the file for use on my PC? Is it an ownership issue?

Thanks, Ruth


I had exactly the same problem (ChonoForms v2.5 J1.5_RC2.1) and discovered a bug in file &quot;chronocontact.php&quot;

change somewhere line 550

Code:

$fileperms = &quot;0644&quot;; into $fileperms = 0644;
Rationale: $fileperms is used as parameter of function chmod(), and should be an integer, not a string type. That should solve the issue.<br><br>Post edited by: Actor, at: 2008/04/04 02:42
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop


equalheight If you have any questions you can post to our forums and we will be glad to help ASAP

Members Login






Lost Password?
No account yet? Register

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com

ChronoForms License

equalheightTo be able to continue working at this component we decided to get a small profit out of it but at the same time don't force everybody to pay in order to use this great component.

 

 From version 1.5 and up a link at the bottom of everyform created will be placed, saying "joomla professional work", the link will be to us here htttp://www.chronoengine.com, its illegal to remove this link from the source code unless you have a license,

so the license is very simply for the same ChronoForms component without a link, thats all!

This License is for 5 different websites ONLY. 

 

 However, in order to allow everybody to still use the component and even get out of this, the link is inside a div with class : chronoform , use this to hide the link by using different colors or whatever if you really can't pay, but of course the link is still exists at your page source.

 

The license is ONLY 25$ can be bought here :

 

Thank you!

 

ChronoEngine.com Team 

Joomla Templates and Joomla Tutorials