Robis Posted March 1, 2005 Report Share Posted March 1, 2005 Sveiki! Pēc url rewritošanas gandrīz visas bildes rāda ok, izņemot vienu: Mēģinot skatīt katru bildi browserī atsevišķi, tiek parādītas attiecīgās bildes izņemot to vienu: Parse error: parse error, unexpected T_STRING in /var/www/html/img/bgtop/bgtop_5.jpg on line 38 KAS TAS TĀDS??? Link to comment Share on other sites More sharing options...
Robis Posted March 1, 2005 Author Report Share Posted March 1, 2005 Ok, pārseivoju photoshopā bildi uzliku atkal uz servera un atkal aizgāja! Bet vai kāds nezin, kāpēc parādījās tāda kļūda??? Ko darīt turpmāk, kad bildes uploados??? Link to comment Share on other sites More sharing options...
bubu Posted March 1, 2005 Report Share Posted March 1, 2005 Manuprāt serveris padeva to jpg failu parsēties kā php skriptu, tāpēc arī tāds gļuks. Nav tev labi kautkas ar tiem url rewraitiem! Link to comment Share on other sites More sharing options...
Robis Posted March 1, 2005 Author Report Share Posted March 1, 2005 .htaccess izskatās šādi: RewriteEngine on RewriteCond !\.(css|js|jpg|gif|jpeg|avi|mp3) / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^.htaccess$ - [F] RewriteRule ^(.*)$ index.php [QSA,L] php_flag register_globals 0 Link to comment Share on other sites More sharing options...
bubu Posted March 1, 2005 Report Share Posted March 1, 2005 Un kā izskatās bildes links? Link to comment Share on other sites More sharing options...
Robis Posted March 1, 2005 Author Report Share Posted March 1, 2005 Nu jau bikiņ pa vēlu, bet bildes links bija: http://www.domain.lv/img/bgtop/bgtop_5.jpg Bet nez... Link to comment Share on other sites More sharing options...
Recommended Posts