472,789 Members | 1,311 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,789 software developers and data experts.

editing header.php ?

im trying to edit my header file but am not able to upload it as it says

"Started: 07/11/2006 14:46

sklinks\headers.php - error occurred - An FTP error occurred - cannot put headers.php. Access Denied. The file may not exist, or there could be a permission problem.

File activity incomplete. 1 file(s) or folder(s) were not completed.

Files with errors: 1

my scripts is

//Section for script configuraion - START
//For info, refer to the Manual.

$_url_main_site = 'http://www.freeaddsgalore.me.uk/'; //http://www.mysite.com/dir/
$_url_root = 'http://freeaddsgalore.me.uk/sklinks/'; //http://www.mysite.com/
$_dir_root = '/something/ If you are unsure about the correct path to the home directory of your site in the server file system, please contact your web-hosting support for assistance.

$_site_title = 'Freeaddsgalore Free Directory';
$_site_full_name = 'The ultimate free ads and small business resource';
$_site_brand = 'freeaddsgalore';
$_site_description = 'Its here. Freeaddsgalore now offers your its own free directory for all your websites!';

$_mysql_username = 'fsomething';
$_mysql_userpwd = 'something';
$_mysql_host = 'localhost';
$_mysql_dbname = 'something;

//Section for script configuraion - END

$_skalinks_url['root'] = $_url_root;
$_skalinks_url['dir'] = $_skalinks_url['root'];
$_skalinks_url['templates'] = $_skalinks_url['root'].'templates/';
$_skalinks_url['admin'] = $_skalinks_url['root'].'admin/';
$_skalinks_url['main_site'] = $_url_main_site;
$_skalinks_url['rm_news'] = 'http://www.skalinks.com/news/news.rss';

$_skalinks_dir['root'] = $_dir_root;
$_skalinks_dir['dir'] = $_skalinks_dir['root'];
$_skalinks_dir['admin'] = $_skalinks_dir['root'].'admin/';
$_skalinks_dir['db_backup'] = $_skalinks_dir['admin'].'db_backup/';

$_skalinks_dir['smarty'] = $_skalinks_dir['root'].'smarty/';
$_skalinks_dir['template_dir'] = $_skalinks_dir['root'].'templates/';
$_skalinks_dir['compile_dir'] = $_skalinks_dir['root'].'compile/';
$_skalinks_dir['config_dir'] = $_skalinks_dir['root'].'config/';
$_skalinks_dir['cache_dir'] = $_skalinks_dir['root'].'cache/';

$_skalinks_mysql['username'] = $_mysql_username;
$_skalinks_mysql['userpwd'] = $_mysql_userpwd;
$_skalinks_mysql['host'] = $_mysql_host;
$_skalinks_mysql['dbname'] = $_mysql_dbname;
$_skalinks_mysql['tbl_prefix'] = 'dir_';

$_skalinks_page = array
'title' => $_site_title,
'title_add_cat' => 'Add Category',
'title_add_url' => 'Add Link',
'title_search' => 'Find your Link',
'title_search_result' => 'Search Result',
'title_edit_cat' => 'Edit Category',
'title_edit_url' => 'Edit Link',
'title_admin' => 'Admin index page',
'title_link_list' => 'Links list',
'title_cat_list' => 'Categories list',
'title_dirtree' => 'Tree of categories',

$_skalinks_site = array
'site_description' => $_site_description,
'site_full' => $_site_full_name,
'brand' => $_site_brand,
'mail_theme' => 'Message',

require_once( 'SkaLinks_include/English_lang.php' );
require_once( 'SkaLinks_include/component.php' );
require_once( 'SkaLinks_include/SkaLinks.class.php' );
require_once( $_skalinks_dir['smarty'].'Smarty.class.php' );
require_once( 'SkaLinks_include/design.php' );
$SkaLinks = new SkaLinks( $_skalinks_mysql );
$SkaLinks->SetRootURL( $_skalinks_url['root'] );
$SkaLinks->SetPrefix( $_skalinks_mysql['tbl_prefix'] );
$color_theme = $SkaLinks->GetParam( 'color_theme' );
$_skalinks_url['color_theme'] = $_skalinks_url['templates'].$color_theme.'/';

// Get some settings
$_output['register_users'] = $SkaLinks->GetParam( 'register_users' );


If anyone can help i will be very thankful
Nov 7 '06 #1
3 1661
4,258 Expert 4TB
If you want anyone to look at that bunch of lines, you'd better think twice! You don't really expect anyone to read that from a screen, do you?

Before you post anything like that, have a mandatory look at the Posting Guidelines at the top of this forum. Better, have a good look at the part of it that describes the use of code, php or html tags around code that is shown.

Ronald :cool:
Nov 7 '06 #2
I did try to but every time i pasted the code it only pasted one line?
Nov 7 '06 #3
4,258 Expert 4TB
It does not with me! Do it better next time.

Ronald :cool:
Nov 7 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Dan Weeb | last post by:
Hi All, I have struggled through this far with help from many of you so thanks. I am stuck again. I am really new to this so don't be harsh :-) There are a few problems. You can run the script...
by: enjoylife_95135 | last post by:
Hi, I'm running RH9 on my laptop. It comes with the Python 2.2.2 RPM. Its cool because when I run the interpreter, I can use command line history. I need to upgrade, so I downloaded and...
by: nospam | last post by:
Amazon wins patent for ordering forms, Collapsing and Maximizing Form Areas.... NAME OF PATENT Method and system for displaying and editing of information # 6,615,226 ...
by: Jerry Khoo | last post by:
i am currently working on an assignment that requires the program to manage the files like editing file content, modifying file content, and deleting file contents. My question is what sort of...
by: Kian Goh | last post by:
Hello, I have about 6 webpages contain the same header and footer. Everytime I want to modified my header/footer, I have to edit all 6 webpages. Is there any way that I can put them in one...
by: ABC | last post by:
Web.Config Editing have no intellisense feature on VC# web site project under VS IDE 2005. How can I turn it on?
by: Eric | last post by:
I'm currently building a small application that needs to fully edit an HTML page. I had stopped my choice on a control on the FreeTextBox editor and started to work with it. However, I found...
by: bluemountain | last post by:
Hi there, Iam new to python forms and programming too I had a text file where i need to extract few words of data from the header(which is of 3 lines) and search for the keyword TEXT1, TEXT2,...
by: ASPnewb1 | last post by:
Hello, I have a 2-dimensional array created from the following text file: data1=asdfawe data2=2 data3=223d data4=22
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
by: lllomh | last post by:
How does React native implement an English player?
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.