Photos uploaded are totaly blue and others things
8 posts
• Page 1 of 1
Photos uploaded are totaly blue and others thingsHi I have a new install of Leonardo on a trustix 3.0 with php 5.1.4 and I have 3 problems
1st -> The Photos uploaded are totaly blue ( i think is a quality setup problem) if is where to correct ? 2nd -> The OLC pontuation are not working ( I can't figure out where to correct this) 3rd -> To install i have modified the CL_user_prefs.php on line 30 from $this=unserialize($cval); to $this_var=unserialize($cval); since on PHP5 the use of $this is prohibited Please Help Henke There is a new xc leage on Brazil http://xc.ciclone.com.br
Re: Photos uploaded are totaly blue and others things
It seems that the GD version on your serrver is not 2.0 but 1.0 please run phpinfo() on a php script on youyr server to see whatversion of GD you have. You must have 2.0 for the images to be displayed correctly.
the problem is this: Warning: file() [function.file]: URL file-access is disabled in the server configuration in /home/httpd/html/xc/modules/leonardo/server/scoreOLC.php on line 23 have a word with your service-provider to see if they can enable "URL file-access"
Please read the comments below on the file... you should comment out the 2 functions ( getFromCookie and setToCookie ) and uncomment their php5 versions just below.
Hi..
The gd version are 2.033.. I Have instaled the leonardo and phpbb on a windows box with apache 2.0 and php 5.14 it works perfectly and in a trustix i have a photoalbum that works perfecty to.. i went to http://www.aditus.nu/jpgraph/jpdownload.php and there is a advisor to use jpgrap 2.x series to php5 but in a windows with php5 the jpgraph bundled with leonardo works fine.. I Will try to use Fedora 5, and others distributions, it must be a Linux Distribution or a Freebsd Distribution at the server.. I can't use Windows on the server because others services running.. And now in the maps the tracklog is shown in a grey line.... I can't figure out where is the error... please help
I had the same problem with photos totally blue. It was because it uses the old function gd 1.x imagecreate().
I resolve it by replacing
by (because strpos() may return Boolean FALSE, but may also return a non-Boolean value which evaluates to FALSE, such as 0 or "")
in CL_map.php and also in EXT_showWaypointGlobe.php and FN_functions.php But i have still a problem with displaying maps. Yann.
I have installed Fedora5 changing the jpgraph library to the new one changing some others files to complain to new jpgraph ( extensions name) and voila all things are working ok. We have now 73 users with more than 200 flights on the database some flights with more than 200km in a few weeks of the site For now i have modified the leonardo to work alone without phpbb or PhpNuke.. If you are interested i will send you the code.
Does anyone know the rules about articles online?I've just stubled upon this site as400-news.com, could I just copy the technical
articles from the site or do I need some kind of permission?. I am writing a project for school. James
8 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 1 guest |
|
Bridge by mehdiplugins.com |
Web + Leonardo Hosting Offer
Specially for Pilots and Clubs, you get a full featured hosting plan.
PLUS Free LeonardoXC server Installation/Migration Support and Upgrades.
Specially for Pilots and Clubs, you get a full featured hosting plan.
PLUS Free LeonardoXC server Installation/Migration Support and Upgrades.