configuration : blank page

17 years 2 weeks ago #33398 by ibrahimari
Replied by ibrahimari on topic Re:configuration : blank page
Merhabalar,
Bu soruna şöyle bir çözüm bulduk. Öncelikle problemin teşhisini bildirelim. Problem, Community Builder ın imgToolBox.class.php dosyasının içindeki getImageList fonksiyonun çağırdığı Test (TestIM(), testNetPBM() ...) fonksiyonlarından kaynaklanmaktadır. Bu fonksiyonlar (CB nin konfigurasyonundaki resimler tabındaki) ImageMagick NetPBM GD1 library GD2 library lerinin sunucuda kurulu olup olmadığını kontrol ediyor. Fakat bu testlerin bazılarının yapılabilmesi için host hesabınızın "Shell access" e sahip olması gerekiyor. Bu problemin yaşanmasının sebebide muhtemelen budur. Bizde bu elzem olmayan ve CB nin esas işlevine hiçbir bir etkisi olmayan bu testlerin çağırılmasını by pass ederek sorunu çözdük. Aşağıda yaptığımız işlemler var, inşaallah yardımcı olabilmişizdir.

Editlediğimiz dosyaların ismi :
1- admin.comprofiler.php
2- admin.comprofiler.html.php

Kodların orjinali :
1- admin.comprofiler.php içinde 1554. satır :
[code:1]
$imageLibs = $imgToolBox->getImageLibs();[/code:1]

Bypass edilmiş hali :
[code:1]
// $imageLibs = $imgToolBox->getImageLibs();
$imageLibs = array ("imagemagick" => 0, "netpbm" => 0, "gd" => array("gd1" => 0, "gd2" => 1) );
[/code:1]

verilen değerlerler (0 lar ve 1) keyfi sayılardır. Benim sisteminde ilk üç kütüphane kurulu değil sonuncusu kurulu anlayayım diye bu değerleri kullandım.

Şimdi aynı işlemi 2. dosyada yapalım :

2- admin.comprofiler.html.php içinde 2009. satır.
[code:1]$imageLibs = $imgToolBox->getImageLibs();
[/code:1]
Bypass edilmiş hali:

[code:1]
// $imageLibs = $imgToolBox->getImageLibs();
$imageLibs = array ("imagemagick" => 0, "netpbm" => 0, "gd" => array("gd1" => 0, "gd2" => 1) );
[/code:1]

yapacağımız işlemler burada sona ermiştir. Kısaca 1 satırı comment edip bir satır ekledik.

Ama esas tavsiyemiz eğer imkânınız varsa hosting firmanızı değiştirmeniz veya hosting firmanızın bu sorunu çözmesidir.
Hosting firmaları içinde şunu söyleyelim, sorun muhtemelen sunucularının üzerinde kullandıkları güvenlik programları veya ekstra servisler/promramlar joomlanın session handling işlemleri ile bir uyumsuzluk sağlayıp bu hatayı veya 403 hata sayfası verebilir. Bu nedenle kendilerine böylebir şikayet geldiğinde lütfen "sistemde herşey normal sorun sizden kaynaklanıyor" gibi cevaplar vermeden bu servis ve programları devre dışı bırakıp saf bir web sunucu haline getirip sorunu test etsinler, muhtemelen sorun çözülecektir.

Başınızı ağrıttığımız için özür dileriz. İnşallah yardımcı olabilmişizdir.

Please Log in to join the conversation.

17 years 2 weeks ago #33399 by ibrahimari
Replied by ibrahimari on topic Re:configuration : blank page
Merhabalar,
Bu soruna şöyle bir çözüm bulduk. Öncelikle problemin teşhisini bildirelim. Problem, Community Builder ın imgToolBox.class.php dosyasının içindeki getImageList fonksiyonun çağırdığı Test (TestIM(), testNetPBM() ...) fonksiyonlarından kaynaklanmaktadır. Bu fonksiyonlar (CB nin konfigurasyonundaki resimler tabındaki) ImageMagick NetPBM GD1 library GD2 library lerinin sunucuda kurulu olup olmadığını kontrol ediyor. Fakat bu testlerin bazılarının yapılabilmesi için host hesabınızın "Shell access" e sahip olması gerekiyor. Bu problemin yaşanmasının sebebide muhtemelen budur. Bizde bu elzem olmayan ve CB nin esas işlevine hiçbir bir etkisi olmayan bu testlerin çağırılmasını by pass ederek sorunu çözdük. Aşağıda yaptığımız işlemler var, inşaallah yardımcı olabilmişizdir.

Editlediğimiz dosyaların ismi :
1- admin.comprofiler.php
2- admin.comprofiler.html.php

Kodların orjinali :
1- admin.comprofiler.php içinde 1554. satır :
[code:1]
$imageLibs = $imgToolBox->getImageLibs();[/code:1]

Bypass edilmiş hali :
[code:1]
// $imageLibs = $imgToolBox->getImageLibs();
$imageLibs = array ("imagemagick" => 0, "netpbm" => 0, "gd" => array("gd1" => 0, "gd2" => 1) );
[/code:1]

verilen değerlerler (0 lar ve 1) keyfi sayılardır. Benim sisteminde ilk üç kütüphane kurulu değil sonuncusu kurulu anlayayım diye bu değerleri kullandım.

Şimdi aynı işlemi 2. dosyada yapalım :

2- admin.comprofiler.html.php içinde 2009. satır.
[code:1]$imageLibs = $imgToolBox->getImageLibs();
[/code:1]
Bypass edilmiş hali:

[code:1]
// $imageLibs = $imgToolBox->getImageLibs();
$imageLibs = array ("imagemagick" => 0, "netpbm" => 0, "gd" => array("gd1" => 0, "gd2" => 1) );
[/code:1]

yapacağımız işlemler burada sona ermiştir. Kısaca 1 satırı comment edip bir satır ekledik.

Ama esas tavsiyemiz eğer imkânınız varsa hosting firmanızı değiştirmeniz veya hosting firmanızın bu sorunu çözmesidir.
Hosting firmaları içinde şunu söyleyelim, sorun muhtemelen sunucularının üzerinde kullandıkları güvenlik programları veya ekstra servisler/promramlar joomlanın session handling işlemleri ile bir uyumsuzluk sağlayıp bu hatayı veya 403 hata sayfası verebilir. Bu nedenle kendilerine böylebir şikayet geldiğinde lütfen "sistemde herşey normal sorun sizden kaynaklanıyor" gibi cevaplar vermeden bu servis ve programları devre dışı bırakıp saf bir web sunucu haline getirip sorunu test etsinler, muhtemelen sorun çözülecektir.

Başınızı ağrıttığımız için özür dileriz. İnşallah yardımcı olabilmişizdir.

Please Log in to join the conversation.

17 years 2 weeks ago #33404 by ibrahimari
Replied by ibrahimari on topic Re:configuration : blank page
Hello,
In English summary for our solution :

Firstly i want to say, the problem's origin is about hosting account. But we solved it by passing a line in 2 CB files. We explained that why we do it and what is the meaning of this bypassing in Turkish reply. If you want to explanation about resaon of bypassing, i will give it in English, too.

Files that must be edited :
1- admin.comprofiler.php
2- admin.comprofiler.html.php

1- 1554. line in admin.comprofiler.php
Original Code:
[code:1]$imageLibs = $imgToolBox->getImageLibs();[/code:1]

Edit like this :
[code:1]// $imageLibs = $imgToolBox->getImageLibs();
$imageLibs = array ("imagemagick" => 0, "netpbm" => 0, "gd" => array("gd1" => 0, "gd2" => 1) );
[/code:1]

2- 2009. line in admin.comprofiler.html.php
Original Code:
[code:1]$imageLibs = $imgToolBox->getImageLibs();[/code:1]

Edit like this :
[code:1]// $imageLibs = $imgToolBox->getImageLibs();
$imageLibs = array ("imagemagick" => 0, "netpbm" => 0, "gd" => array("gd1" => 0, "gd2" => 1) );
[/code:1]

Changings are finished.

Shortly, we bypassed doing auto-detection on the available graphics libraries. Because the problem's origin is the test functions in imgToolbox.class.php file. For doing test, your hosting account must have "shell access" and right permissions. probably, the person who come accross with this problem has not got the "shell access" at his hosting account.

I wish i help you.

Have a good day.

Please Log in to join the conversation.

17 years 1 week ago #33684 by ibrahimari
Replied by ibrahimari on topic Re:configuration : blank page
Hello,

We research deeply this problems origin. It is not about hosting completely. This problem must be fixed by the CB developers.

Good Jobs,

Please Log in to join the conversation.

17 years 1 week ago #33695 by GwaiTsi
Replied by GwaiTsi on topic Re:configuration : blank page
Hi All,

I need help cause i am a total beginner. I don't know what has changed but at some point on my live server i too am getting a blank page when trying to access the component item for the user.

The blank page has only the following html: -
<link type="text/css" rel="stylesheet" href="www.canza.cz/components/com_comprofiler/plugin/templates/webfx/template.css" />
<script type="text/javascript" src="components/com_comprofiler/js/overlib_hideform_mini.js"></script>
<script type="text/javascript" src="components/com_comprofiler/js/overlib_anchor_mini.js"></script>
<script type="text/javascript" src="components/com_comprofiler/js/overlib_centerpopup_mini.js"></script>
<script type="text/javascript">overlib_pagedefaults(WIDTH,250,VAUTO,RIGHT,AUTOSTATUSCAP, CSSCLASS,TEXTFONTCLASS,'cb-tips-font',FGCLASS,'cb-tips-fg',BGCLASS,'cb-tips-bg',CAPTIONFONTCLASS,'cb-tips-capfont', CLOSEFONTCLASS, 'cb-tips-closefont');</script>
<script type="text/javascript">
function cbConnSubmReq() {
cClick();
document.connOverForm.submit();
}
function confirmSubmit() {
if (confirm("Are you sure you want to remove this connection?"))
return true ;
else
return false ;
}
</script>
<script type="text/javascript" src="www.canza.cz/components/com_comprofiler/js/menubest.js">
<script type="text/javascript" src="www.canza.cz/components/com_comprofiler/js/tabpane.js">

It seems to have lost the site completely but i don't know why. If I use JoomlaClone to copy the live site to my backup, everything works fine.

I don't know enough to workout if it is a server config issue or directory rights, etc.

I could really use your help please.

Please Log in to join the conversation.

17 years 1 week ago #33704 by GwaiTsi
Replied by GwaiTsi on topic Re:configuration : blank page
I tried the modification detailed in this thread but it didn't help.

My live site (which does NOT work) is here
www.canza.cz/index.php?option=com_comprofiler&Itemid=47

My Dev site (which DOES work) is here
canza.greatsouthernwines.com/index.php?option=com_comprofiler&Itemid=47

Of course you need to register to access the page.

The Dev site is a JoomlaClone of the Live site.

Hope someone can help.

thanks

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.534 seconds

Facebook Twitter LinkedIn