• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: test.functions.php missing 2.2
PostPosted: Wed Jun 14, 2017 12:12 pm 
Offline
Forum Members
Forum Members

Joined: Tue Oct 06, 2015 12:21 pm
Posts: 25
Hello, I have recently updated my sites to 2.2 but now can't load the following pages in the backend,

System Maintenance
System Information
System Verification

In the error log it says

[14-Jun-2017 13:09:00 Europe/London] PHP Fatal error: require_once(): Failed opening required '/home/xxxxxxx/public_html/lib/test.functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxxx/public_html/admin/systemmaintenance.php on line 41

This file appears to be missing - was this deleted?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: test.functions.php missing 2.2
PostPosted: Wed Jun 14, 2017 12:50 pm 
Offline
Forum Members
Forum Members

Joined: Tue Sep 08, 2015 10:41 am
Posts: 65
Those pages work for me and test.functions.php is present on my CMSMS 2.2 installation.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: test.functions.php missing 2.2
PostPosted: Wed Jun 14, 2017 1:16 pm 
Offline
Forum Members
Forum Members

Joined: Tue Oct 06, 2015 12:21 pm
Posts: 25
I have uploaded the file and all seems as normal now. It is a little odd why it was missing / removed?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: test.functions.php missing 2.2
PostPosted: Fri Jun 16, 2017 7:43 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 157
Location: Victoria, BC
I've had host's anti-virus programs remove a file before, or could have been a file system/hardware glitch.

_________________
You might actually like me when I'm angry, who knows?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: test.functions.php missing 2.2
PostPosted: Mon Jun 19, 2017 5:04 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Thu Dec 11, 2008 12:48 pm
Posts: 79
Location: Norway
Same thing happened to me after upgrade to 2.2. File is missing. Downloaded the file from another installation, but when uploading the file is stopped by the the filemanager in Cpanel, saying it contains virus.

When making a new file called test.functions.php and pasting in the code, the file is created but gets deleted somehow when page is refreshed. Why? Any suggestions on how to fix?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: test.functions.php missing 2.2
PostPosted: Mon Jun 19, 2017 5:10 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 7805
Location: Fernie British Columbia, Canada
I confirmed that this file IS present in the archive for 2.2 and is installed properly in yet another test installation.

So I think your host is messing with your files. Perhaps due to some false-positive virus detection or something.

_________________
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: test.functions.php missing 2.2
PostPosted: Mon Jun 19, 2017 5:17 pm 
Offline
Forum Members
Forum Members

Joined: Tue Sep 08, 2015 10:41 am
Posts: 65
I don't use CMSMS on a cPanel host, but I uploaded test.functions.php to a cPanel host using the File Manager and got this:

Quote:
The file you uploaded, test.functions.php, contains a virus so the upload was canceled: YARA.multiple_webshells_0018.UNOFFICIAL FOUND

It seems like it needs to be reported as a false positive to cPanel.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: test.functions.php missing 2.2
PostPosted: Mon Jun 19, 2017 6:32 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 7805
Location: Fernie British Columbia, Canada
Don't think it's a cpanel thing as only 2 people have noted this.

I think it's more of a 'host implementing a custom set of rules' thing.

I'd complain to my host, and send them that rule information, and a copy of the file.

_________________
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: test.functions.php missing 2.2
PostPosted: Tue Jun 20, 2017 4:37 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Thu Dec 11, 2008 12:48 pm
Posts: 79
Location: Norway
My host has now solved the problem for me. I do not know what they did to correct it, but I have requested an explanation so that others with the same problem might get a clue as to what to say/do to fix it. If/when I get an answer I will post it here. :)


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: test.functions.php missing 2.2
PostPosted: Wed Jun 21, 2017 9:54 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Thu Dec 11, 2008 12:48 pm
Posts: 79
Location: Norway
Trenia wrote:
My host has now solved the problem for me. I do not know what they did to correct it, but I have requested an explanation so that others with the same problem might get a clue as to what to say/do to fix it. If/when I get an answer I will post it here. :)

Server host says that the challenge was to configure the anti virus software to ignore the test.functions file and not react to it as virus infected and delete the file. So the upgrade to cmsms 2.2 created a false-positive which now has been reported.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting