PHP 5.3.x

If you are having problems with VCD-db, and you are unsure whether or not it is a bug, post it here.

Moderators: Carpo, Saviq

PHP 5.3.x

Postby jan » Wed Nov 04, 2009 6:22 pm

My webbhotel has change php, some funktion not working now.
Changing DVD Thumbnail is not working is there some fix for this?
jan
Power user
 
Posts: 38
Joined: Thu Jan 18, 2007 11:04 am

Re: PHP 5.3.x

Postby Saviq » Wed Nov 04, 2009 11:43 pm

Please try and find the error report, it's difficult to know what's going on without that.
Saviq
Site Admin
 
Posts: 401
Joined: Mon May 30, 2005 12:39 pm
Location: Poland

Re: PHP 5.3.x

Postby jan » Thu Nov 05, 2009 5:24 pm

Saviq wrote:Please try and find the error report, it's difficult to know what's going on without that.


That’s the problem there is no error messages, and I have enabled
Php error log on “one.com” that’s my webbhotell

The first error I have was in VCDSoapProxy.php line 105
Code: Select all
protected function __call($func, $params) {
      throw new VCDProgramException('Function ' . $func . ' is not implemented');
   }


Error says something
“the magic method __call() must have public visibility and cannot be static”

I remove this function and the error was gone.

But like I say before I can’t change “Thumbnail” any more.
You now the small windows that popup to edit a movie, if I
try to upload I new picture then popup windows is blank (empty)
when I hit the save button.

I can use the “DVD CD cover” and “DVD Cover” it work but not Thumbnail.
I can remove a Thumbnail but not upload new
jan
Power user
 
Posts: 38
Joined: Thu Jan 18, 2007 11:04 am

Re: PHP 5.3.x

Postby Carpo » Thu Nov 05, 2009 11:23 pm

I have tested a few scripts under iis 7.5 and php 5.3 and i can say its going to fuck a lot of scripts up as it has changed a lot of the php code, all can be fixed easily its just finding the now deprecated php 5.2.x code if you are using php 5.3.x and updating it

i will be testing out vcddb under iis 7.5, PHP 5.3 (5.3.2-dev) and mysql 5.1.40 (all x64) within the next few days, weekend more than likely as im out most of the day tomorrow and certainly tomorrow night (hey its friday ;))

What will be interesting to see is what oracle do with mysql if they buy it.......
Carpo
Power user
 
Posts: 207
Joined: Wed Jul 04, 2007 12:31 pm

Re: PHP 5.3.x

Postby Saviq » Fri Nov 06, 2009 1:04 am

Jan, as you can read in the error - just replace 'protected' with 'public' and it'll be fine.

As for the thumbnail, I bet it's the image resizing code that's giving you problems, but without errors from the web server, there's no way to know what's exactly the problem.
Saviq
Site Admin
 
Posts: 401
Joined: Mon May 30, 2005 12:39 pm
Location: Poland

Re: PHP 5.3.x

Postby Carpo » Fri Nov 06, 2009 2:01 pm

another thing that would help us jan is if you could tell us what setup your hosting comp uses, is it apache and php or iis and php?

If its apache and php i could try and reproduce your error here, but will need version of php
Carpo
Power user
 
Posts: 207
Joined: Wed Jul 04, 2007 12:31 pm

Re: PHP 5.3.x

Postby jan » Sat Nov 07, 2009 8:04 pm

Carpo wrote:another thing that would help us jan is if you could tell us what setup your hosting comp uses, is it apache and php or iis and php?

If its apache and php i could try and reproduce your error here, but will need version of php


I ask my suport on one.com and the give me this info

All our servers are based on Debian Linux. We use Apache 1.3.33. We use Linux servers in both x86 and 64-bits
Apache 1.3.33
PHP 5.2.10 (But this is change to PHP 5.3.0)
MySql 5.0.32
phpMyAdmin 2.5.7
jan
Power user
 
Posts: 38
Joined: Thu Jan 18, 2007 11:04 am

Re: PHP 5.3.x

Postby Carpo » Sat Nov 07, 2009 9:23 pm

ok i dont think me having different apache or mysql would skew any test too much - just as long as i get the right php :) - i will test it tomorrow when my hang over has gone :)
Carpo
Power user
 
Posts: 207
Joined: Wed Jul 04, 2007 12:31 pm

Re: PHP 5.3.x

Postby jan » Sun Nov 08, 2009 11:37 am

Found one more thing that’s not working
VCD-db Admin web backup

Same as before only a blank windows, nothing happen and no error.
jan
Power user
 
Posts: 38
Joined: Thu Jan 18, 2007 11:04 am

Re: PHP 5.3.x

Postby jan » Wed Nov 11, 2009 9:05 am

Carpo wrote:ok i dont think me having different apache or mysql would skew any test too much - just as long as i get the right php :) - i will test it tomorrow when my hang over has gone :)



How is your hangover, any time to test php 5.3.0 :wink:
jan
Power user
 
Posts: 38
Joined: Thu Jan 18, 2007 11:04 am

Re: PHP 5.3.x

Postby Carpo » Wed Nov 11, 2009 6:52 pm

will be sorting something out in the next day or so :)

i can test it on windows now, as that's the only system i have available to me atm, was thinking of getting a free vm kit and installing few other Linux os's but that will take some time

There is also something you could do to output errors, contact your hosting company and see if they use php.ini globally or if they allow the user to use their own php.ini - if they do see if you can get them to change

error_reporting = E_ALL & ~E_NOTICE

to

error_reporting = E_ALL & ~E_STRICT

this will show any and all warnings - which might be helpful :)
Carpo
Power user
 
Posts: 207
Joined: Wed Jul 04, 2007 12:31 pm

Re: PHP 5.3.x

Postby Carpo » Wed Nov 11, 2009 7:43 pm

jan wrote:Found one more thing that’s not working
VCD-db Admin web backup

Same as before only a blank windows, nothing happen and no error.


I have tested that here and its working fine (under windows) and im not seeing the other error you are having, thumbnails are all comming up fine.

You have any idea what version of debian they are using?
Carpo
Power user
 
Posts: 207
Joined: Wed Jul 04, 2007 12:31 pm

Re: PHP 5.3.x

Postby FastEddie » Wed Nov 11, 2009 9:27 pm

I'm new to VCD-db but am currently installing and have run into the first PHP 5.3.x issue.

JAX error:
Unknown response from server!

<br />
<b>Deprecated</b>: Function set_magic_quotes_runtime() is deprecated in <b>C:\wamp\www\vcddb\classes\adodb\adodb-xmlschema03.inc.php</b> on line <b>1410</b><br />
{"errorCode":0,"errorMessage":null,"serverVersion":"0.9","response":{"check":"createtables","status":1,"results":"DB Schema successfully applied."}}


This is due to the new version of PHP that someone already said in this post.
Placed an "@" symbol on line 1410 and got passed that one.

Then I experienced the same error that Jan experienced and went to line 105 and changed to public. The error went away, but still have to find out whether functionality was impaired.

Win Server 2k3
Apache 2.2.11
PHP 5.3
MySQL 5.1.36

Thought I'd try to contribute! :D
FastEddie
 
Posts: 4
Joined: Wed Nov 11, 2009 7:42 pm

Re: PHP 5.3.x

Postby Carpo » Wed Nov 11, 2009 11:01 pm

any other errors from the logs? or from event viewer? More information is better for us :)
Carpo
Power user
 
Posts: 207
Joined: Wed Jul 04, 2007 12:31 pm

Re: PHP 5.3.x

Postby Carpo » Thu Nov 12, 2009 1:16 am

jan wrote:
I ask my suport on one.com and the give me this info

All our servers are based on Debian Linux. We use Apache 1.3.33. We use Linux servers in both x86 and 64-bits
Apache 1.3.33
PHP 5.2.10 (But this is change to PHP 5.3.0)
MySql 5.0.32
phpMyAdmin 2.5.7


After looking at debian it seems that the stable versions they run are well under what the hosting company uses, i will have to see about configuring it to use unstable packages, but seeing as i have never used debian i will have to read up on it, im more a FreeBSD/Gentoo type of person ;)
Carpo
Power user
 
Posts: 207
Joined: Wed Jul 04, 2007 12:31 pm

Next

Return to Troubleshooting and Problems

Who is online

Users browsing this forum: No registered users and 1 guest

cron