Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : cPanel [function.fopen]: failed to open stream: No such file or directory



Threaded Mode | Print  

 cPanel [function.fopen]: failed to open stream: No such file or directory (12 Replies, Read 14817 times)
9xlinux
Group: NOC
Post Group: Newbie
Posts: 10
Status:
After install in cPanel server
The following error Display for all scripts when try to update scripts from software link under root WHM

Code
Warning: fopen(/var/softaculous/aef.zip) [function.fopen]: failed to open stream: No such file or directory in /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/functions/file_functions.php on line 175


The allow_url_fopen is already 1

Any Idea??
IP: --   

cPanel [function.fopen]: failed to open stream: No such file or directory
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
Hi,

Which version of Softaculous are you using ?
And did it download the file or not ?

Regards,
Alons

-----------------------
For immediate support please email us at our Support email address. PMs sent to any Softaculous Team member or posting in the forums is not the official way to get support.

Virtualizor - The Next Generation VPS Panel
Webuzo - It is Softaculous Standalone for Enterprises, SMB, Developers. Deploy it on Dedicated Servers, VPS, Virtual Appliances or the Cloud
Pinguzo - Server and Domain Monitoring tool
PopularFX - Marketplace of WordPress, Drupal, Joomla, Bootstrap themes
Remote Installer - Use Softaculous over FTP/FTPS/SFTP
IP: --   

cPanel [function.fopen]: failed to open stream: No such file or directory
9xlinux
Group: NOC
Post Group: Newbie
Posts: 10
Status:
Latest version of Softaculous 2.4 installed today
IP: --   

cPanel [function.fopen]: failed to open stream: No such file or directory
WSNetworks
Group: NOC
Post Group: Newbie
Posts: 8
Status:
I am getting the same problem, just installed on a new VPS and got the error.
This is also the latest version of Softaculous 2.4 installed today
allow_url_fopen is on



Edited by WSNetworks : December 4, 2009, 3:25 pm
IP: --   

cPanel [function.fopen]: failed to open stream: No such file or directory
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
Hi,

I checked the code and I found that fopen warnings are not being suppressed.
It should have @fopen but its just fopen. I guess our coder Ronak while adding cURL support forgot to add the @

This bug will not be occuring on all servers.
We have fixed the code for the new release.

It will work without any problems and its just a WARNING and not a error.
You can suppress it as a QUICK fix.
Just add the line :
error_reporting(E_PARSE);
in globals.php

It will suppress the Warning.
2.5 will be relased soon as it is near completion with additional features.

Regards,
Alons

-----------------------
For immediate support please email us at our Support email address. PMs sent to any Softaculous Team member or posting in the forums is not the official way to get support.

Virtualizor - The Next Generation VPS Panel
Webuzo - It is Softaculous Standalone for Enterprises, SMB, Developers. Deploy it on Dedicated Servers, VPS, Virtual Appliances or the Cloud
Pinguzo - Server and Domain Monitoring tool
PopularFX - Marketplace of WordPress, Drupal, Joomla, Bootstrap themes
Remote Installer - Use Softaculous over FTP/FTPS/SFTP
IP: --   

cPanel [function.fopen]: failed to open stream: No such file or directory
9xlinux
Group: NOC
Post Group: Newbie
Posts: 10
Status:
Hello,
The script is not working at all
Its not downloading scripts form softaculous server, so How it will work?

Regards,
IP: --   

cPanel [function.fopen]: failed to open stream: No such file or directory
WSNetworks
Group: NOC
Post Group: Newbie
Posts: 8
Status:
It won't update or download files as above and within cpanel

The INFO.XML file could not be found! Please report this to the server administrator.

and when attempting to update

Warning: fopen(/var/softaculous/wsp.zip) [function.fopen]: failed to open stream: No such file or directory in /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/functions/file_functions.php on line 175
Word Search Puzzle
Software not found.....Needs Update
Deleting previous files......
Fetching Latest File......Could not SAVE latest file......Continuing   


Warning: fopen(/var/softaculous/mc.zip) [function.fopen]: failed to open stream: No such file or directory in /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/functions/file_functions.php on line 175
Multiplayer Checkers
Software not found.....Needs Update
Deleting previous files......
Fetching Latest File......Could not SAVE latest file......Continuing   


Warning: fopen(/var/softaculous/claro.zip) [function.fopen]: failed to open stream: No such file or directory in /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/functions/file_functions.php on line 175
Claroline
Software not found.....Needs Update
Deleting previous files......
Fetching Latest File......Could not SAVE latest file......Continuing   


Warning: fopen(/var/softaculous/pfn.zip) [function.fopen]: failed to open stream: No such file or directory in /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/functions/file_functions.php on line 175
PHPfileNavigator
Software not found.....Needs Update
Deleting previous files......
Fetching Latest File......Could not SAVE latest file......Continuing   


Warning: fopen(/var/softaculous/bnt.zip) [function.fopen]: failed to open stream: No such file or directory in /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/functions/file_functions.php on line 175
BlackNova Traders
Software not found.....Needs Update
Deleting previous files......
Fetching Latest File......Could not SAVE latest file......Continuing   

Completed updating the files. Go back to Software

I have 4 other VPS all configured the same and I had no problem with 2.2 or 2.3 and this has only happened on this one today when freshly installing 2.4

Thanks
IP: --   

cPanel [function.fopen]: failed to open stream: No such file or directory
9xlinux
Group: NOC
Post Group: Newbie
Posts: 10
Status:
Is there is anyway we can use old version 2.3

Regards,
IP: --   

cPanel [function.fopen]: failed to open stream: No such file or directory
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
Quote From : 9xlinux December 4, 2009, 5:07 pm
Is there is anyway we can use old version 2.3

Regards,


2.3 has the same bit of code.
One thing I am not getting is why is PHP failing to open a file stream on your respective servers.
Its impossible as its working on 3 test servers I just tested on.
There can be a failure only if it runs as a different user.
But in cPanel the Admin runs as root. Its impossible for PHP to fail to open a stream.

Can you contact our support with login details.
They will investigate the cause.

Also please note again 2.3 had the same code and there are no changes in the file_functions.php in 2.4

-----------------------
For immediate support please email us at our Support email address. PMs sent to any Softaculous Team member or posting in the forums is not the official way to get support.

Virtualizor - The Next Generation VPS Panel
Webuzo - It is Softaculous Standalone for Enterprises, SMB, Developers. Deploy it on Dedicated Servers, VPS, Virtual Appliances or the Cloud
Pinguzo - Server and Domain Monitoring tool
PopularFX - Marketplace of WordPress, Drupal, Joomla, Bootstrap themes
Remote Installer - Use Softaculous over FTP/FTPS/SFTP
IP: --   

cPanel [function.fopen]: failed to open stream: No such file or directory
9xlinux
Group: NOC
Post Group: Newbie
Posts: 10
Status:
Email sent at support@softaculous.com
Please solve issue
IP: --   

cPanel [function.fopen]: failed to open stream: No such file or directory
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
Hi,

We found the problem. It’s a thing that we completely forgot could be the reason.
/var/softaculous folder was missing and hence all the error!
So just create it if its not there.

Regards,
Alons

Edited by alons : December 4, 2009, 7:18 pm

-----------------------
For immediate support please email us at our Support email address. PMs sent to any Softaculous Team member or posting in the forums is not the official way to get support.

Virtualizor - The Next Generation VPS Panel
Webuzo - It is Softaculous Standalone for Enterprises, SMB, Developers. Deploy it on Dedicated Servers, VPS, Virtual Appliances or the Cloud
Pinguzo - Server and Domain Monitoring tool
PopularFX - Marketplace of WordPress, Drupal, Joomla, Bootstrap themes
Remote Installer - Use Softaculous over FTP/FTPS/SFTP
IP: --   

cPanel [function.fopen]: failed to open stream: No such file or directory
WSNetworks
Group: NOC
Post Group: Newbie
Posts: 8
Status:
Thanks Alons
That fixed the problem  :D
IP: --   

cPanel [function.fopen]: failed to open stream: No such file or directory
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
So the code wasnt wrong
The folder was missing!

-----------------------
For immediate support please email us at our Support email address. PMs sent to any Softaculous Team member or posting in the forums is not the official way to get support.

Virtualizor - The Next Generation VPS Panel
Webuzo - It is Softaculous Standalone for Enterprises, SMB, Developers. Deploy it on Dedicated Servers, VPS, Virtual Appliances or the Cloud
Pinguzo - Server and Domain Monitoring tool
PopularFX - Marketplace of WordPress, Drupal, Joomla, Bootstrap themes
Remote Installer - Use Softaculous over FTP/FTPS/SFTP
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 23, 2024, 7:16 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.028