MusicOnly
Mar 3 2007, 01:00 PM
Hello! I am working on my template in Dreamweaver and i am using joomla extensions for dreamweaver! When i start my page with joomla stand alone server(jsas) i get this errors on the bottom of the page! QUOTE Warning: mosloadcomponent(w:/www/Joomla/components/com_banner/banner.php) [function.mosloadcomponent]: failed to open stream: No such file or directory in w:\www\Joomla\includes\frontend.php on line 66
Warning: mosloadcomponent(w:/www/Joomla/components/com_banner/banner.php) [function.mosloadcomponent]: failed to open stream: No such file or directory in w:\www\Joomla\includes\frontend.php on line 66
Warning: mosloadcomponent() [function.include]: Failed opening 'w:/www/Joomla/components/com_banner/banner.php' for inclusion (include_path='.;\usr\local\PHP\includes;w:/www/mambo45') in w:\www\Joomla\includes\frontend.php on line 66 Who can help me fix this?
Reply
matak
Mar 3 2007, 04:38 PM
what version of joomla do you have installed? did you try to look for those files in directories, www\Joomla\includes\frontend.php. maybe u installed joomla with some errors. also if your original template works you probably included wrong path for your component.. also it is possible that you published some module or component on position that you didn't define in your template. try to disable all unnecessary components or modules (pools, template chooser, syndicate) and then refrashing page.. with this code u include path for component CODE <?php mosLoadComponent( "banners" ); ?> that is for banners, for other u go analog, eg for left u have CODE <?php mosLoadComponent( "left" ); ?> hope this helps---
Reply
Similar Topics
Keywords : error joomla template function- PHP Function To Add Previous and Next Page Feature
- useful php function (0)
- Template Chooser?
- (10)
Hi, do you know any tutorials that is somehow is dedicated to creating kind of templates for your
web-site?! Let's say when a user goes to his or her profile there will a button which is
called "Choose Template", for instance, after that the templates of your web-site stored on your
server, will become active. This is the first point. The second thing, how can I make the
templates generally? With respect to font, alignments, buttons, other graphics or even hide some
buttons or functions of the web-site?...
Mysql Error
- (3)
ok i need some more help from the wonderful coders here at Trap. I'm almost done with my CMS
script, but i'm having a problem with the installer.php file, when it trys to inseret the user
data into the database i keep getting the following error: CODE mySQL Error: You have an
error in your SQL syntax; check the manual that corresponds to your MySQL server version for the
right syntax to use near ';INSERT INTO `members` (`id`, `name`,
`username`, `password`, `email`, `title`) ' at lin...
Getting List Of Directories And Files Using Php
- PHP Function for Directory and File List (6)
is there a php function that lists the content of some folder.... example: /New folder new.txt
left.gif download.zip dc.exe ....so is there..? /rolleyes.gif' border='0'
style='vertical-align:middle' alt='rolleyes.gif' /> ...
Parse: Error Unexpected T_lnumber
- php parse error when running script (4)
Hi. I've just created a php script. The main object of the script is to delete some old files
and replace it with a new file with some new content, effectively moving the contents from one file
to another. These are the first 50 lines of the file: /* Calculate For The "A" Group - The
Latest Games ID */ $a_B = 002; while(file_exists("a_" . $a_B . ".dat")) {
$a_B++; } $new_page_contents = " " . $_POST . " " . $_POST . "
include \"/home/cmatcme/public_html/footer.php\"; ?> "; $a_stream = fopen(&...
How To Use A Link To Call Function In Php?
- (8)
The title says it all, really. How do you call a function using in PHP? I'm doing a project
and I stumbled upon this problem. I don't want to use query string in the href part like
since that would mess up the other part of my code. Can anyone pleae help me? I've pasted the
code below. /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> Thanksh.
CODE <?php function display($x){ //coding goes here. } ?>
<html> <body> <p align="center"> <a href="what g...
Include File.php?id=something
- using the include() function (13)
Well, I am making a full CMS system for my site, and want to make the index.php file to include the
view.php?id=1 file. I tried with this code, but it didn't work: CODE <?php include
'view.php?id=1' ?> This is the error I get: CODE Warning:
main(view.php?id=1) [function.main]: failed to open stream: Invalid argument
in C:\server\xampp\htdocs\test\index.php on line 1 Warning:
main() [function.include]: Failed opening 'view.php?id=1' for inclusion
(i...
How Good Is This Data Cleaning Function?
- (2)
Hi all, this is my first function and as part of a script and i just want to know a couple of
things. here is the code for the function: CODE <? function
clean($dirty_string) { $muddy_string = stripslashes($dirty_string);
$murky_string = strip_tags($muddy_string); $clean_string =
htmlentities($murky_string); }; ?> So the first thing is how secure is
it? the script this will be used in connects to a database and sends an email so it needs to stop
SQL injections and any email ab...
Endif function?
- (6)
As you get noticed before, I am studying PHP in examples like using the tutorials as well as books
itself. Through my readings, I get this function CODE <?php endif; ?> a lot of times.
So, what do you mean by this function, and what does it do exactly?...
How To Check If Fsockopen Function Is Enabled?
- (2)
Hi, I have VPS (virtual private server) and I have access to php.ini file. Is there any script that
will show that fsockopen function is enabled or where do I have to enable it? Searched google and
here and couldn't find anything. Thanks! ...
Php Objects: Catchable Fatal Error
- There is a weird problem with objects in php 5.2.2 (4)
in php 4.4.7 my code seems to be ok but in later version 5.2.2 i get this error Catchable fatal
error: Object of class mission_rank could not be converted to string in
/Applications/xampp/xamppfiles/htdocs/nexus/includes/forms/cn_reload.php on line 41 cn_reload.php
include('../class/userClass.php'); session_start(); $app_user =&
$_SESSION ; if ($app_user->character != false) { $race_letter =
array('H','E','T','M','G'); $cn_id = 0; foreach
($app_user->character as...
[php]diffrent Type Of Template [id] With Includes ;)
- (13)
?> Example <!-- A { color: #003366;
text-decoration: none; } A:link { color: #003366; text-decoration: none; }
A:visited { color: #003366; text-decoration: none; } A:active { color:
#54622D; } A:hover { color: #54622D; } BODY,TD,TR{ font-family:
verdana, arial, sans-serif; color:#000; font-size:11;
font-weight:normal; } .banner { font-family: georgia, verdana, arial, sans-serif; ...
Mail() Clone
- A PHP mail() function clone (5)
A lot of free web hosts have disabled the mail() function so you cannot send emails using PHP. Does
anybody know of a script that makes a function "like" mail but is able to be installed in a web
accessible directory and called included into another script and called like that? Or maybe you know
how to make such a function? I just really need to find a way around the free hosts turning of the
mail() function. I need to figure out a way to send emails....
Arrays Outside A Function
- Need to have arrays available to all functions. (3)
I've got a bunch of arrays that i want to use for more then 1 function. when i declear the
arrays outside a function i cant use it in a function. This code was originally written in
javascript by another person but since I plan to use it and extend it with php I had to change it
from javascript to php code. In the javascript code the arrays were decleared outside the functions
with 'var arrayname' I read somewhere that declearing javascript variables with
'var' gives it global access. Any ideas on how I can go about declearing 1 set of these
arrays t...
The Best Zip Function
- (1)
hi my 6th code is very useful, you can zip your file by this: CODE <? class dZip{ var
$filename; var $overwrite; var $zipSignature =
"\x50\x4b\x03\x04"; // local file header signature var
$dirSignature = "\x50\x4b\x01\x02"; // central dir header signature
var $dirSignatureE= "\x50\x4b\x05\x06"; // end of central dir
signature var $files_count = 0; var $fh; Function
dZip($filename, $overwri...
Fabrik Component For Joomla
- (0)
Have anyone successfully made a site applications with fabrik component for Joomla? -
http://www.fabrikar.com/index.php The reason why I downloaded fabrik in first place was to make a
computer service status for my website (localhost) But when I'm running the application, fully
inplenting the options for service tags, i get the error message: Notice: Undefined variable:
_VERSION in C:\wamp\www\components\com_fabrik\fabrik.html.php on line 26
Notice: Trying to get property of non-object in C:\wamp\www\components\com_fab...
T_string Error Please Assist
- (5)
I have unexpected t_strings in 3 lines they are CODE <?php // $Header$ //this
script may only be included - so its better to die if called directly. if
(strpos($_SERVER["SCRIPT_NAME"],basename(__FILE__)) !==
false) { header("location: index.php"); exit; } /* A basic library to
handle a cache of some Tiki Objects, usage is simple and feel free to improve it */ class Cachelib
{ var $folder; function Cachelib() { global $tikidomain;
$th...
Php Template Class I Started
- and a good way to see how to fail template class (1)
Althought it works, and maybe some users can even use this class for some simpler websites, this is
not a good way to create class. I cant really explain why, and i'm publishing it so maybe people
with more experience in template design can help me figure out how to create PHP templates. Looking
forward for your answers. some of the variables and directories are in croatian, but i don't
think that matters when you look at with programmers eyes. First my index.php file looks like
this... CODE <?php include ("includes/showSiteClass.php"...
Php Explode Function Help
- (4)
I am having trouble creating a script, all i want to achieve is to: 1. Select the variable from my
mysql database, which is in a format of : id|id|id|id| and so on... 2. Split them into separate
variables by using : $songexploded = explode("|",$ttyo ); 3. Then this is the bit I'm
stuck on trying to create a while loop from the $songexploded variables. So(this might not be
correct but you should get the idea).. CODE $x=1; while ($songexploded
==$result) echo $songexploded[$x].'<br>'; }...
Phpbb2 Error
- recently showing up (4)
I tried to install a mod. Did it successfully but didn't like the end result. So I went through
the install backwards and reverted everything back to how they were. Now I am getting this error.
QUOTE Warning: Cannot modify header information - headers already sent by (output started at
/home/damen/public_html/phpBB/language/lang_english/lang_main.php:1034) in
/home/damen/public_html/phpBB/includes/page_header.php on line 483 Warning: Cannot modify header
information - headers already sent by (output started at
/home/damen/public_html/phpBB/language/lang_english...
[php](simple) Using Functions To Combine Values In A Form
- Really simple example on how to combine values with function (2)
I just learned this simple method on how to use functions to combine two values from a form. First
we create ourselves a simple POST form CODE <form method="POST"> Name:
<input type="text" name="nickname"> Location: <input
type="text" name="location"> <input type="submit"
value="Input"> </form> Now we add this php to that same file CODE
<?php $nick = $_POST['nickname']; $location =
$_POST['location' ...
[php] Header Function
- (2)
Header function Greetings we are going to use the header() funtion to redirect start making a
file called page.php at the top of the file add CODE <?php ?> Example 1 After
CODE header('Location: http://www.trap17.com'); the LOCATION means
where you want it to go. Example 2 you also can define a file that you want to redirect to After
CODE header('Location: index.php'); Example 3 you also can add a timer to
it /laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0" alt=...
The Extract() Function
- Something I just found out (6)
The extract() function is used in PHP to take an array and split it up into variables. MySQL
queries can be parsed this way. Below is an example. CODE $query =
mysql_query("select username, password from users where uid=1"); $result =
mysql_fetch_array($query, mysql_assoc); extract($result); print "Your
username is : $username"; The extract() function works for ANY array, including
$_POST, and $_GET. Makes processing form data a LOT easier /biggrin.gif"
style="vertical-align:midd...
Php Fsockopen() Error
- (14)
Hi guys, I've been having problems with PHP and my Apache server, I've got this book (SAMS
PHP, MYSQL and Apache All in One) I've installed all services correctly, but I get an error on
my Radio Homepage saying: QUOTE Warning: fsockopen() : unable to connect to 5.106.1.74:8000 (A
non-blocking socket operation could not be completed immediately. ) in C:\Program
Files\Apache Group\Apache2\htdocs\radio\stats\radio_stats.php on line
13 Riphabbo Radio Is Currently Offline I'm new to PHP and would like to know if th...
Error On Emailer.php & Smtp.php At Phpbb
- ERROR on emailer.php & smtp.php at PhpBB (2)
Are you use free webhosting??? smtp.php and emailer.php are general error on CMS like phpBB . It
make email verification disabled.Why??? because free webhosting not allow us use smtp port .they
afraid their server will atacking with spam !! so what solution to solve this problem?? You
can search on google or join at phpBB forum !!! but if it can not solve all this problem
it only able 1 trick ..you must download emailer MOD at www.phpbbhacks.com to inactive emailer.php
or smtp.php ...
Uglymonkey Toplist Script
- Getting an error with this script, please help. (7)
I'm getting an error on the index page.Need help to fix it please. There's the error:
CODE Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
resource in /home/chatz/public_html/top/index.php on line 10 Failed: delete from
uglymonkey_toplist where lastin < '2006-07-28 18:23:19' and total='0'
Here's the index page that I'm getting the error on: CODE <?php
include("config.php"); if ($purgedays>0){ $purgeseconds =
$purged...
[forum] Double Posting Happening By An Error
- (3)
Hello, I am currently working on EvilBoard 0.1.1, for those who know about this project versjon 0.1b
can be downloaded from http://www.evilservices.com Well over to the reason why i am posting this,
I am currently experincing a problem with my new posting code wich has been rewrited in version
0.1.1, You see, it is double posting by an error, i thouht i could fix that myself, but no, so i
just thought, Trap17 is perfect, they problety know how to fix this, Here is the code: CODE
<? /* * @Name: Post Topic * @Author: Arne-Christian Blystad * @Copyright&...
Explode Function Help
- need help from you programmers! (1)
/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Hi I am robert I
need some help with some php coding. I am stuck with a explode function. Here is the code:
$username = $check ; $query="SELECT `buildings` FROM `authuser` WHERE
`uname` = '$username'"; $result=mysql_query($query);
$result=mysql_result($result,0);
list($building1,$building2,$building3,$building4,$building5,$building6
,$building7,$building8,$building9,...
Error Importing Sql Query Via Php
- Works in PHPmyAdmin (6)
CODE function sql() { $fp =
fopen("sql.sql","r"); $sql =
fread($fp,filesize("sql.sql")); fclose($fp);
return $sql; } Thats $this->sql and here is the other source CODE
function insert_sql() { if($_GET['insert']) {
$template = new template; $db = new db;
$db->connect(); $query = $this->sql(); ...
Help Needed With Silly Error
- (8)
Hi i have made a stupid error on one of my pages and having trouble finding it. It says unexpected
')' on line 114 can anyone please help me find it? Here is the page: CODE <? /** *
* @package TibiaME Clan/Download Site * @version 1.00 2006/09/27 00:04:37 wappy * @copyright
(c)2004-2006 wappyCULT * @home http://hack.s-60.org * @license You can use/modify this
script but distributing it without permisinn, or removing the "Script By: wappy" link
will invalidate your license and give wappy (wappyCULT) FULL RIGHTS to ...
Looking for error, joomla, template, function
|
|
Searching Video's for error, joomla, template, function
|
advertisement
|
|