Jump to content
  • 0

изучаю osCommerce


Accessdenied
 Share

Question

Разбераюсь с osCommerce, пытаюсь поставить новый язык, и вот проблема вс? работает, пока не захожу в аднимку несколько раз, вобщем я не понимаю изза чего потом я больше не могу зайти в админку введя адрес localdisk/sajt/admin, пищет:

Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in z:homelocalhostwwwshoplineadminincludesapplication_top.php on line 157

Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.;/usr/local/php/PEAR') in z:homelocalhostwwwshoplineadminincludesapplication_top.php on line 157

Иду в эту самую строку в Dreamweaver и там:

156 // include the language translations

157 require(DIR_WS_LANGUAGES . $language . '.php');

158 $current_page = basename($PHP_SELF);

159 if (file_exists(DIR_WS_LANGUAGES . $language . '/' . $current_page)) {

160 include(DIR_WS_LANGUAGES . $language . '/' . $current_page)

Как сново получить доступ без переинстала? Что сделать?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Скрипт не может найти файл.

Так как файл явно не указан - "includes/languages/.php"

Думаю или какая-то переменная (DIR_WS_LANGUAGES . $language .) имеет пустое значение или неправильный синтаксис этой строки.

Сам с osCommerce не работал.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy