PHP errors.

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Devileyezz
-


Joined: 18 Aug 2005
Posts: 29

PostPosted: Fri Jun 09, 2006 4:54 am    Post subject: PHP errors. Reply with quote

Hi,

There's days when I get these errors and I can't even login to gallery (I'm using Gallery and using this I usually see these errors.) Then some where I get errors and can successfully login.

And days when there's no errors at all.
I'm confused.

I usually get these in a set of 3 errors, I click on for the first, and then there's the second and then the third.

In this sequence:
1) php-cgi.exe - Entry point not found <window title>
The procedure entry point _zval_copy_ctor could not be located in the dynamic link library php5ts.dll

2) php-cgi.exe - Unable to locate component <window title>
The application has failed to start because php_pdo.dll was not found. Re-installing the application may fix the problem.

3) php-cgi.exe - Unable to locate component <window title>
This application has failed to start because CORE_RL_magick.dll was not found. Re-installing the application may fix this problem.

Now here's the deal. I have these DLLs, I don't know why I'm getting all this attitude. I do know that the way I enable them might make a difference, so here they are.. listed exactly in that order <snippet> in my php.ini:

;extension=php_sockets.dll
extension=php_pdo.dll
extension=php_pdo_mysql.dll
extension=php_sqlite.dll
extension=php_pdf.dll
extension=php_imagick.dll

I googled, and I did a lotta things. Looked here and on gallery, and couldn't find much. And Gallery's forums really seriously suck.
Now, please someone, pleaseee help.

Thanks.


Quote:
Gallery version = 2.1.1 core 1.1.0.1
PHP version = 5.1.4 cgi-fcgi
Webserver = Abyss/2.3.2-X1-Win32 AbyssLib/2.3.2
Database = mysql 5.0.21-community-nt, lock.system=database
Toolkits = Exif, Thumbnail, Gd, ArchiveUpload
Acceleration = none, none
Operating system = Windows NT XEUS 5.1 build 2600
Default theme = matrix
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Jun 09, 2006 12:19 pm    Post subject: Re: PHP errors. Reply with quote

Devileyezz,

It seems that you are using a PHP extension designed for a specific version of PHP on another version of PHP.

First of all, we suggest that you use our preconfigured PHP 5 package http://www.aprelium.com/abyssws/php5win.html . The php_pdo.dll and the php5ts.dll should disappear.

Regarding CORE_RL_magick.dll, try adding the directory where it is located to your Windows global environment variable PATH.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Devileyezz
-


Joined: 18 Aug 2005
Posts: 29

PostPosted: Fri Jun 09, 2006 1:08 pm    Post subject: Reply with quote

Thanks for replying. :)

Would I be able to use all those extensions with your pre-configured package that I'd like to use then? Like php_pdf.dll, etc?
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sat Jun 10, 2006 4:26 pm    Post subject: Reply with quote

Devileyezz wrote:
Thanks for replying. :)

Would I be able to use all those extensions with your pre-configured package that I'd like to use then? Like php_pdf.dll, etc?

Yes. You can enable any extension you'd like to use (besides the default ones) as explained in the bottom of the page http://www.aprelium.com/abyssws/php5win.html .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Devileyezz
-


Joined: 18 Aug 2005
Posts: 29

PostPosted: Sat Jun 10, 2006 7:04 pm    Post subject: Reply with quote

Can I install in the same dir of the old PHP (v5.1.4)?
Or will it mess up?
Back to top View user's profile Send private message
Devileyezz
-


Joined: 18 Aug 2005
Posts: 29

PostPosted: Sat Jun 10, 2006 8:25 pm    Post subject: Reply with quote

Well, I installed in another directory.
And I'm still getting those errors.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Jun 11, 2006 2:24 pm    Post subject: Reply with quote

Devileyezz wrote:
Well, I installed in another directory.
And I'm still getting those errors.

Have you altered the php.ini file? Have you removed the PHP_RC custom environment variable?
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Devileyezz
-


Joined: 18 Aug 2005
Posts: 29

PostPosted: Sun Jun 11, 2006 2:42 pm    Post subject: Reply with quote

I accidentally removed all info in the PATH from command prompt.
But I put most of it back, including the new path.

Then, I went to System properties (Win XP) and added a CEV PHPRC as the name, and address as E:\PHP5

What am I doing wrong?
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Jun 11, 2006 2:58 pm    Post subject: Reply with quote

Devileyezz wrote:
I accidentally removed all info in the PATH from command prompt.
But I put most of it back, including the new path.

Then, I went to System properties (Win XP) and added a CEV PHPRC as the name, and address as E:\PHP5

What am I doing wrong?

There is no need for PHP_RC with our new preconfigured package. In http://www.aprelium.com/abyssws/php5win.html there is no mention of PHP_RC.

Our guess is that your PATH variable contains directories where some PHP DLLs are located and these are used instead of the ones that come with our package.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Devileyezz
-


Joined: 18 Aug 2005
Posts: 29

PostPosted: Sun Jun 11, 2006 3:20 pm    Post subject: Reply with quote

Hmm, so do I empty out the PATH variable on command prompt, and delete the PHPRC variable in the CEV?
Back to top View user's profile Send private message
Devileyezz
-


Joined: 18 Aug 2005
Posts: 29

PostPosted: Mon Jun 12, 2006 5:12 am    Post subject: Reply with quote

So, I looked at this again.
And yes, after installing the pre-conf package, I edited the .ini to add php_pdf.dll and php_imagick.dll, and those were the errors.

And since I don't currently need them, I commented those lines in the php.ini, and so far there hasn't been an error.

So, mystery solved.


__BUT__

What if I want to use these in the future? We still need to figure out how to run them error-free. :)
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Jun 12, 2006 3:00 pm    Post subject: Reply with quote

Devileyezz wrote:
And yes, after installing the pre-conf package, I edited the .ini to add php_pdf.dll and php_imagick.dll, and those were the errors.


php_imagick.dll is not part of the preconfigured package. So declaring it in php.ini only is not sufficient. To add it, you'll have to use an extension that was compiled for the exact version of PHP you are using and it has to be put in the correct paths.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Devileyezz
-


Joined: 18 Aug 2005
Posts: 29

PostPosted: Mon Jun 12, 2006 4:04 pm    Post subject: Reply with quote

And how can I get that done for both those DLLs?
If you don't mind could you please point me in the right direction?
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Jun 13, 2006 11:17 am    Post subject: Reply with quote

Devileyezz wrote:
And how can I get that done for both those DLLs?
If you don't mind could you please point me in the right direction?

Look at the documentation of these extensions. There no general guidelines as each extension has its own prerequisites.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Devileyezz
-


Joined: 18 Aug 2005
Posts: 29

PostPosted: Tue Jun 13, 2006 12:59 pm    Post subject: Reply with quote

Ok. Thank you so much in this regard.
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB phpBB Group