T
|
Tommy B author 3/13/2006 |
Try this link. I had the same problem. You can edit the custom template in PHPRunner or you can change php.ini. You may also be interested to read this link also. I had problem uploading files above the 2 Mb limit. Hope this helps to solve your problem.
|
T
|
Tommy B author 3/22/2006 |
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=8700&image=1&table=forumreplies' class='bbc_emoticon' alt='B)' />--><div class='quotetop'>QUOTE(Tommy B @ Mar 13 2006, 11:24 AM) <{POST_SNAPBACK}></div><div class='quotemain'><!--quotec--> Try this link. I had the same problem. You can edit the custom template in PHPRunner or you can change php.ini. You may also be interested to read this link also. I had problem uploading files above the 2 Mb limit. Hope this helps to solve your problem.
|
![]() |
Sergey Kornilov admin 3/23/2006 |
Tommy, foreach ($files_move as $file) move_uploaded_file($file[0],$file[1]); with the following: foreach ($files_move as $file) { move_uploaded_file($file[0],$file[1]); chmod($file[1],0777); } |
T
|
Tommy B author 3/23/2006 |
Tommy, you can modify ..._add.php and ..._edit.php files to change the uploaded files permission mode. Replace this snippet: with the following:
|
T
|
Tommy B author 3/24/2006 |
I've run into another hitch with this function. PHP error happened Technical information Error type 2 Error description chmod(): Operation not permitted URL subdomain.domain.com/project/Upload_add.php? Error file /home/xxxx/domains/domain.com/private_html/secure/project/Upload_add.php Error line 235 SQL query insert into `Upload` (`description`, `File`, `File2`, `File3`, `File4`, `File5`, `File6`, `File7`, `File8`, `File9`, `File10`, `File11`, `File12`, `File13`, `File14`, `File15`, `File16`, `File17`, `File18`, `File19`, `File20`, `userid`) values ('EOBs / R&S', 'posttitle-20060324-103713.gif', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'tbbrents') |
T
|
Tommy B author 3/27/2006 |
I removed the CHMOD code and restored the original code. This stopped the php error from ocurring but files are once again being uploaded with very limited permissions. |
![]() |
Sergey Kornilov admin 3/28/2006 |
Tommy, foreach ($files_move as $file) { if(move_uploaded_file($file[0],$file[1])) chmod($file[1],0777); } |
T
|
Tommy B author 3/28/2006 |
This seems to work perfect. However, in Internet Explorer the browser returns a DNS error when trying to process the add/edit pages. It doesn't even try to upload. Just immediately delivers the "Cannot Find Server" error once I hit Save. |
![]() |
Sergey Kornilov admin 3/28/2006 |
Tommy, |