Denedim ama olmadı yanlışmı yapıyorum.Loginboz.ph kodlarını aşağıya yazıyorum.Bir bakarsanız sevinirim
Kod:
<?php
/*
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2002 osCommerce
Released under the GNU General Public License
IMPORTANT NOTE:
This script is not part of the official osC distribution
but an add-on contributed to the osC community. Please
read the README and INSTALL documents that are provided
with this file for further information and installation notes.
loginbox.php - Version 5.4
This puts a login request in a box with a login button.
If already logged in, will not show anything.
Modified to utilize SSL to bypass Security Alert
*/
// WebMakers.com Added: Do not show if on login or create account
if ( (!strstr($_SERVER['PHP_SELF'],'login.php'))
and
(!strstr($_SERVER['PHP_SELF'],'create_account.php'))
and
!tep_session_is_registered('customer_id')
); {
?>
<!-- loginbox //-->
<?php
if (!tep_session_is_registered('customer_id')) {
?>
<tr>
<td>
<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => BOX_HEADING_LOGIN_BOX);
new infoBoxHeading($info_box_contents, false, false);
$info_box_contents = array();
$info_box_contents[] = array('align' => 'center',
'text' => $loginboxcontent);
new infoBox($info_box_contents);
?>
</td>
</tr>
<?php
} else {
// If you want to display anything when the user IS logged in, put it
// in here... Possibly a "You are logged in as :" box or something.
}
?>
<!-- loginbox_eof //-->
<?php
// WebMakers.com Added: My Account Info Box
} else {
if (tep_session_is_registered('customer_id')) {
?>
başka bir sürüm os commerce kurdum. Os commerce 2.2 .Tr dil dosyalarını yükledim.
Siteyi açıp türkçe seçtiğimde
Kod:
Warning: main(includes/languages/turkish.php): failed to open stream: No such file or directory in /home/webweb02/public_html/satis2/includes/application_top.php on line 285
Warning: main(includes/languages/turkish.php): failed to open stream: No such file or directory in /home/webweb02/public_html/satis2/includes/application_top.php on line 285
Warning: main(includes/languages/turkish.php): failed to open stream: No such file or directory in /home/webweb02/public_html/satis2/includes/application_top.php on line 285
Fatal error: main(): Failed opening required 'includes/languages/turkish.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/webweb02/public_html/satis2/includes/application_top.php on line 285
yukarıdaki hatayı veriyor.Acaba sitenin xxx,sitem.com gibi subdomainde olmasından kaynaklanabilirmi.
Bu forumda yeni başlıklar açamazsınız Bu forumdaki başlıklara cevap veremezsiniz Bu forumdaki mesajlarınızı değiştiremezsiniz Bu forumdaki mesajlarınızı silemezsiniz Bu forumdaki anketlerde oy kullanamazsınız