Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-11-26 15:44:58

the_arrogant_q
New member
Registered: 2005-11-26
Posts: 7

sha1 function

I am trying to install the image manager plugin and have followed the steps in the tutorial but it still doesn't work because I am getting the error:

<b>Fatal error</b>:  Call to undefined function:  sha1() in <b>c:\program files\apache group\apache\htdocs\site\admin\modules\detail.php</b> on line <b>86</b><br>

Can someone give me the code for this function?

Thanks in advance.

Offline

#2 2005-11-27 01:00:48

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: sha1 function

It's a PHP builtin see the PHP manual.


James Sleeman

Offline

#3 2005-11-27 12:02:45

the_arrogant_q
New member
Registered: 2005-11-26
Posts: 7

Re: sha1 function

Thanks, but now I'm getting another error.

Warning: Undefined property: dirs in c:\program files\apache group\apache\htdocs\site\admin\edit\plugins\imagemanager\Classes\ImageManager.php on line 83

I've follow the image manager install guide properly and the sha1 code is there now.

What's wrong with now?

Offline

#4 2005-11-27 21:55:15

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: sha1 function

A small bug, if you m change your default error_reporting PHP setting to ignore warnings it will help.  Otherwise, on that line change "is_null" to "isset".

I'll ticket this so ImageManager is tested sometime with warnings enabled.


James Sleeman

Offline

#5 2005-11-28 15:54:47

the_arrogant_q
New member
Registered: 2005-11-26
Posts: 7

Re: sha1 function

That didn't work. The error moves to line 89 and now the image manager doesn't at all.

Offline

#6 2005-11-28 22:29:03

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: sha1 function

Did you turn off warnings?


James Sleeman

Offline

#7 2005-11-29 15:30:56

the_arrogant_q
New member
Registered: 2005-11-26
Posts: 7

Re: sha1 function

I don't know how to do that.

Offline

Board footer

Powered by FluxBB