Skip to content

parse error - closedir() expects parameter 1 to be resource, boolean given #2

@nick0

Description

@nick0

Hello @Nicola1971,

I am testing AutoEvoBackup 1.4 in a EvolutionCMS 1.4.3 site.

I installed the AutoEvoBackup through the Extras Module. In doing so, 2 files are present:
AutoEvoBackup 1.3 - Plugin
RunEvoAutoBackup 1.4 - Snippet

The pluigin is set to currently backup on OnBeforeManagerLogout.

I can;t get it to work - it always throws a parse error "closedir() expects parameter 1 to be resource, boolean given" on logging out...

Full parse error info is here (domain, username and manager url changed to display):
`« Evo Parse Error »
Error : closedir() expects parameter 1 to be resource, boolean given
Error information
ErrorType[num] WARNING[2]
File /home/the-username/public_html/the-unique-manager-name/includes/document.parser.class.inc.php(1926) : eval()'d code
Line 490
Source Snippet
Current Plugin AutoEvoBackup(OnBeforeManagerLogout)

Basic info
REQUEST_URI http://the-domain.com:443/the-unique-manager-name/index.php?a=8
Manager action 8 - Logged out
Referer https://the-domain.com/the-unique-manager-name/
User Agent Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
IP the-ip-number
Current time 2018-04-23 11:54:03

Benchmarks
MySQL 0.0029 s (2 Requests)
PHP 0.1368 s
Total 0.1397 s
Memory 3.6332626342773 mb

Backtrace
include_once(string $var1)
the-unique-manager-name/index.php on line 379

DocumentParser->invokeEvent(string $var1, array $var2)
the-unique-manager-name/processors/logout.processor.php on line 14

DocumentParser->evalPlugin(string $var1, array $var2)
the-unique-manager-name/includes/document.parser.class.inc.php on line 5393

eval()
the-unique-manager-name/includes/document.parser.class.inc.php on line 1880

DocumentParser->runSnippet('RunEvoAutoBackup', array $var2)
the-unique-manager-name/includes/document.parser.class.inc.php(1880) : eval()'d code on line 24

DocumentParser->evalSnippet(string $var1, array $var2)
the-unique-manager-name/includes/document.parser.class.inc.php on line 4244`

Any ideas on what that means and how to get it working?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions