pragmaMx Support Forum

pragmaMx => Türkçe (Turkish) => Language Specific Support => Kurulum & Güncelleme => Thema gestartet von: Caner_Wien am 26 Februar 2008, 14:34:45

Titel: [Çözüldü] Yeni Spaw
Beitrag von: Caner_Wien am 26 Februar 2008, 14:34:45
öncelikle selamlar konuyu burda aciyorum daha önce konular acilmis ama bu spaw farkli oldugu icin yeni baslik acim dedim

pragmamx yeni spaw editör progarminic benimsayfam.com/yeni  adli bir klasör acarak setup edtom spaw editöru altaki resimde göruldugu gibi hata verdi ana roota da atim ayni eski surumdeki spaw editörde config dosiyasinda webin uralesini yazarak sorun gideriliyordu simdise degisik bir hata benim hostun sunucusu chmodlari otomatikmen kendisi göruyor

sorun ne  olabilir

(https://forum.pragmamx.org/proxy.php?request=http%3A%2F%2Fimg213.imageshack.us%2Fimg213%2F3738%2Fhatane8.jpg&hash=2bf2557ff197484e6dc461153406ac1ed37dd45a)
Titel: Re: Yeni Spaw
Beitrag von: Caner_Wien am 26 Februar 2008, 14:36:35
Zitat von: Caner_Wien am 26 Februar 2008, 14:34:45
öncelikle selamlar konuyu burda aciyorum daha önce konular acilmis ama bu spaw farkli oldugu icin yeni baslik acim dedim

pragmamx yeni spaw editör progarmini  benimsayfam.com/yeni  adli bir klasör acarak setup edtom spaw editöru altaki resimde göruldugu gibi hata verdi ana roota tum klasörleri  atim ayni hata vyi verdi eski surumdeki spaw editörde config dosiyasinda webin uralesini yazarak sorun gideriliyordu simdise degisik bir hata benim hostun sunucusu chmodlari otomatikmen kendisi göruyor

sorun ne  olabilir

(https://forum.pragmamx.org/proxy.php?request=http%3A%2F%2Fimg213.imageshack.us%2Fimg213%2F3738%2Fhatane8.jpg&hash=2bf2557ff197484e6dc461153406ac1ed37dd45a)
Titel: Re: Yeni Spaw
Beitrag von: ozeraksu am 26 Februar 2008, 14:39:51
Ayni konuya flood yapman kurallara aykiri kilitliyorum konuyu.
Titel: Re: Yeni Spaw
Beitrag von: Sitki am 26 Februar 2008, 14:48:33
@ Caner_Wien

Bir türlü anlayamadım, neden sürekli alıntı yaparak arda arda mesajlar yazıyorsun? Lütfen kurallarımıza aykırı davranmayın, aksi takdirde ya konular silenecek veya kilitlenecektir.

Ayrıca almanca bildiğini tahmin ediyorum
-> http://www.pragmamx.org/Forum-topic-24802-start-msg165370.html#msg165370

ve konuyla ilgili öncelikle bu linkte zaten çözüm gösterilen yollara başvurmanı rica ediyorum.
-> http://www.pragmamx.org/Forum-topic-24461-start-msg163513.html#msg163513
Titel: Re: Yeni Spaw
Beitrag von: Caner_Wien am 26 Februar 2008, 14:54:33
sorun almanca bilmemekten kaynaklaniyor flod konusna gelince kelime eksikligi vardi duzeltelim derken  atilin yazsini tikalmisi kopyalamis bana verdigin likte dostum almanca almancamiz yok ? bunu turkcesni istiyoruz benim icinde digerleri icinde almanca bilmeyenler icin verdigin konu linkini burda turce yapilirsa  sorun ortada kalmaz
Titel: Re: Yeni Spaw
Beitrag von: Sitki am 26 Februar 2008, 15:31:44
Yeni Spaw gerekli dosyaları ve URL'leri normalde otomatikman uyarlıyor. Beta test esnasında bu şekilde tüm sunucularda sorunsuz çalıştı.
Fakat bazı sunucularda bu uyarlama yapılamıyor olabilir, maalesef bunu test etmek için imkanımız yoktu...

Bu problem Spaw geliştiricilerin de bilgisinde ve kendileri bazı önlemleri almış durumdalar:
http://www.spaweditor.com/spaw/spaw2/docs/documentation/integrators.html

ZitatPath Related Settings

These settings determine locations SPAW uses to load it's files. These are automatically calculated in most instances, but if you get errors in demo script or can't see button images, etc. this is where the problem most likely is.


DOCUMENT_ROOT
Specifies a file system path to the root directory of your website. On most Apache/PHP installations this is calculated automatically

SPAW_ROOT
Specifies a file system path to the SPAW directory. Automatically calculated.

SPAW_DIR
Specifies a path from web site root to the SPAW directory, that is if you access demo script by pointing your browser to http://mydomain.com/spaw/demo/demo.php SPAW_DIR should be set to '/spaw/'. Automatically calculated

Bu demektir ki, /spaw/config/config.php dosyası elden ayarlanabilir, sorunu çözmek için. Söz edilen iptal edilmiş alanı aşağıda bulabilirsiniz:


/*
// semi-automatic path calculation
// comment the above settings of DOCUMENT_ROOT, SPAW_ROOT and SPAW_DIR
// and use this block if the above fails.
// set SPAW_DIR manually. If you access demo page by http://domain.com/spaw2/demo/demo.php
// then set SPAW_DIR to /spaw2/
SpawConfig::setStaticConfigItem('SPAW_DIR', '/spaw2/');
// and the following settings will be calculated automaticly
SpawConfig::setStaticConfigItem('SPAW_ROOT', str_replace("\\","/",realpath(dirname(__FILE__)."/..").'/'));
SpawConfig::setStaticConfigItem('DOCUMENT_ROOT', substr(SpawConfig::getStaticConfigValue('SPAW_ROOT'),0,strlen(SpawConfig::getStaticConfigValue('SPAW_ROOT'))-strlen(SpawConfig::getStaticConfigValue('SPAW_DIR'))));
*/

/*
// under IIS you will probably need to setup the above paths manually. it would be something like this
SpawConfig::setStaticConfigItem('DOCUMENT_ROOT', 'c:/inetpub/wwwroot/');
SpawConfig::setStaticConfigItem('SPAW_ROOT', 'c:/inetpub/wwwroot/spaw2/');
SpawConfig::setStaticConfigItem('SPAW_DIR', '/spaw2/');
*/


Hangi şekilde ve neyin ayrı ayrı sunucularda ayarlanılmasını toptan söylemek mümkün değil. Bunu test ederek denemenizde yarar vardır.

Örneğin şu şekilde deneyebilirsiniz:
Bu işaretleri /* ve */ ilgili kod bloğundan çıkarılması lazım.
Bundan sonra /spaw2/ dosya adı /spaw/ olarak değiştiriliyor.

Not1:
Konuyla ilgili Spaw destek sitesinde birçok cevaplar mevcut, orada SPAW_ROOT girerek arama yapabilirsiniz.
Örneğin: http://forums.solmetra.com/viewtopic.php?t=7965&highlight=spawroot

Not2:
Bu config.php tamamen bireysel olarak ayarlanabilir, yukarıdaki önerge de olduğu gibi. Olası pragmaMx güncellemelerinde bu dosya dahil olmayacaktır, ki böyle yapılmış olan değişikliklerin kalması için.
Titel: Re: Yeni Spaw
Beitrag von: Caner_Wien am 26 Februar 2008, 18:42:48
sitki kardesim ne etisek bir turlu duzelmedi
http://homepages/0/d67514701/htdocs/spaw/plugins/core/lib/theme/spaw2/img/tb_table_cell_merge_down.gif

bu bölume size rootunumu yazmak gerek
SpawConfig::setStaticConfigItem('DOCUMENT_ROOT', 'c:/inetpub/wwwroot');
SpawConfig::setStaticConfigItem('SPAW_ROOT', 'c:/inetpub/wwwroot/spaw');

editledigim kod serverim 1un1.de

/*
// semi-automatic path calculation
// comment the above settings of DOCUMENT_ROOT, SPAW_ROOT and SPAW_DIR
// and use this block if the above fails.
// set SPAW_DIR manually. If you access demo page by http://domain.com/spaw2/demo/demo.php
// then set SPAW_DIR to /spaw/
SpawConfig::setStaticConfigItem('SPAW_DIR', '/spaw/');
// and the following settings will be calculated automaticly
SpawConfig::setStaticConfigItem('SPAW_ROOT', str_replace("\\","/",realpath(dirname(__FILE__)."/..").'/'));
SpawConfig::setStaticConfigItem('DOCUMENT_ROOT', substr(SpawConfig::getStaticConfigValue('SPAW_ROOT'),0,strlen(SpawConfig::getStaticConfigValue('SPAW_ROOT'))-strlen(SpawConfig::getStaticConfigValue('SPAW_DIR'))));
*/

/*
// under IIS you will probably need to setup the above paths manually. it would be something like this
SpawConfig::setStaticConfigItem('DOCUMENT_ROOT', 'c:/inetpub/wwwroot');
SpawConfig::setStaticConfigItem('SPAW_ROOT', 'c:/inetpub/wwwroot/spaw');
SpawConfig::setStaticConfigItem('SPAW_DIR', '/spaw/');
*/
Titel: Re: Yeni Spaw
Beitrag von: Sitki am 26 Februar 2008, 18:53:03
şu şekilde bir test et (ekte).
Titel: Re: Yeni Spaw
Beitrag von: Caner_Wien am 26 Februar 2008, 19:00:56
bizde aynisini yapiyoruz nafile sitki eski veresiyona hasret kaldik

(https://forum.pragmamx.org/proxy.php?request=http%3A%2F%2Fimg169.imageshack.us%2Fimg169%2F7858%2Floha2.jpg&hash=6e5b1351d8f0c9c9608820f3f37854fa5fcb7c09)
Titel: Re: Yeni Spaw
Beitrag von: Sitki am 26 Februar 2008, 19:08:55
Hayır, aynısını yapmıyorsun, tekrar yukarıdaki resime bak, ilgili alanın başlangıcında /* ve sonunda */ bu işaretleri çıkarman lazım.
Titel: Re: Yeni Spaw
Beitrag von: Caner_Wien am 26 Februar 2008, 19:13:39
calsitirdimmmmmmmmmmmmmmmmmmmmmmmmmmmm sagol sitki kardes :thumbup:sitki :thumbup: