Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 13-06-2010
Member
 
Join Date: Apr 2010
Posts: 77
File not Uploaded issue on CPanel, Virus Detected

I am creating a site on CPanel hosting and I have a problem for being home images on my site.
PHP Code:
<? Php name="/ Html / images_upload /";
Result=move_uploaded_file($ _FILES['File']['Tmp_name'],$ Name);
if ($ 
Result) Echo"Transfer file <br/>";
?>
The problem is that i cannot able to upload the file and images, it will find a virus. Please help.
Reply With Quote
  #2  
Old 13-06-2010
Member
 
Join Date: Feb 2008
Posts: 1,848
Re: File not Uploaded issue on CPanel, Virus Detected

First you need to check your file is not infected by virus or any type of malware file. After that when a Web browser (like Internet Explorer or Firefox) visits your site, it first tries to load a file named "index". It may be "index.html" or "index.php", etc.., But the file must be named "index", with a lowercase "i". The browser will look for this file in your public_html folder. You can see for yourself what file in the file manager section of cPanel.
Reply With Quote
  #3  
Old 13-06-2010
Member
 
Join Date: May 2008
Posts: 2,293
Re: File not Uploaded issue on CPanel, Virus Detected

You can use several methods for the publication of your index file. The most popular way to publish files on the Web is to use an FTP program (File Transfer Protocol - File Transfer Protocol). Several FTP programs, including FileZilla, WS_FTP and CuteFTP, are available free or are offered free trial. FTP programs are also included in the Web design software like Dreamweaver or Frontpage.
Reply With Quote
  #4  
Old 13-06-2010
Member
 
Join Date: May 2008
Posts: 2,383
Re: File not Uploaded issue on CPanel, Virus Detected

CPanel servers in Monarobase are compatible with the automatic version, you can download spip_loader.php. (To download this file, please Right > save target as ... otherwise the file code spip_loader.php may display in your browser instead of being downloaded. You now have the file on your computer spip_loader.php. Launch your FTP software: On Windows we recommend Filezilla, Linux and MacOSX gftp, Transit (shareware software) or Cyberduck (freeware). Of course you can choose any other software that suits you best. Connect to your FTP account with FTP login that you were sent when creating your account. If you have not checked the remote directory when configuring your FTP account on your FTP softwar.
__________________
The FIFA Manager 2009 PC Game
Reply With Quote
  #5  
Old 13-06-2010
Member
 
Join Date: Oct 2005
Posts: 2,389
Re: File not Uploaded issue on CPanel, Virus Detected

Your public_html directory is not empty. If you have not already sent or website files to your FTP account, the only file that you should not delete it (if it exists). Htaccess, but the default FTP software does not show files starting with a point, you normally will not see this file. All other files in the folder / public_html will not interfere with the functioning of SPIP, but are not relevant to its operation. It's up to you to choose to delete or not. Check and reply.
Reply With Quote
  #6  
Old 13-06-2010
Member
 
Join Date: Nov 2005
Posts: 1,323
Re: File not Uploaded issue on CPanel, Virus Detected

You need to edit an existing file using the File Manager allows you to make immediate changes to your website without having to download a new version of the file. To edit a file:
> Navigate to the folder where the file resides.
> Click on the file name.
> Click on the link Edit File located in the upper right of your window.
> A new window will open displaying the contents of the edited file.
> Edit text file as you wish.
> Click Registration to validate your changes. The changes are immediate on your site.
Reply With Quote
  #7  
Old 15-06-2010
Member
 
Join Date: Feb 2010
Posts: 119
Re: File not Uploaded issue on CPanel, Virus Detected

In the code of SPIP, a word normally reserved in PHP is used out of context, the word "exec", which is used as a value (string) in scripts related to ajax upload. The exec () is also a PHP function => running a command function. Apparently, the servers the use of the word exec, in order to avoid undue use of the PHP function of the same name.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "File not Uploaded issue on CPanel, Virus Detected"
Thread Thread Starter Forum Replies Last Post
Virus detected in Oil Rush ChittiBabu Video Games 1 24-01-2012 01:19 AM
How can restore only a particular file in Cpanel Samara Software Development 7 01-01-2012 09:06 PM
dll file is detected as a virus in the antivirus scanning DevenderD Networking & Security 5 12-05-2011 10:42 PM
Password modification issue on cpanel Susquehannock Software Development 6 19-06-2010 12:29 AM
Shared SSL certificate issue on cPanel Deandre Networking & Security 6 16-06-2010 03:57 AM


All times are GMT +5.5. The time now is 01:47 PM.