Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Run SQL Sripts Configuration


wube62

Recommended Posts

When I installed R SQL I can see in Panel Administration>Tools>Run SQL Script , but I cant run it because

"no access"(I changed string $attachment_upload_location = DIR_FS_BACKUP;). In Administrators>Groups menu there isn't "run_sql.php" item (see below)

 

 

Tools

 

backup.php

banner_manager.php

banner_statistics.php

cache.php

define_language.php

file_manager.php

mail.php

newsletters.php

server_info.php

whos_online.php

 

Perhaps problem is in "tools.php". My contrib osC included, (when I added string with Run_SQL thre isnt

"Run SQL Sript" item in Tools Menu) :

 

"

'link' => tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('selected_box')) . 'selected_box=tools'));

 

if ($selected_box == 'tools') {

$contents[] = array('text' => tep_admin_files_boxes(FILENAME_BACKUP, BOX_TOOLS_BACKUP) .

tep_admin_files_boxes(FILENAME_BANNER_MANAGER, BOX_TOOLS_BANNER_MANAGER) .

tep_admin_files_boxes(FILENAME_CACHE, BOX_TOOLS_CACHE) .

tep_admin_files_boxes(FILENAME_DEFINE_LANGUAGE, BOX_TOOLS_DEFINE_LANGUAGE) .

tep_admin_files_boxes(FILENAME_FILE_MANAGER, BOX_TOOLS_FILE_MANAGER) .

 

// BOC: Run SQL contribution

tep_admin_files_boxes(FILENAME_RUN_SQL, BOX_TOOLS_RUN_SQL) .

// EOC: Run SQL contribution

 

tep_admin_files_boxes(FILENAME_MAIL, BOX_TOOLS_MAIL) .

tep_admin_files_boxes(FILENAME_NEWSLETTERS, BOX_TOOLS_NEWSLETTER_MANAGER) .

// tep_admin_files_boxes(FILENAME_SERVER_INFO, BOX_TOOLS_SERVER_INFO) .

tep_admin_files_boxes(FILENAME_WHOS_ONLINE, BOX_TOOLS_WHOS_ONLINE));

}

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   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.

×
×
  • Create New...