473,387 Members | 1,290 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

PHP Theme

57
Please Correct This theme's mistakes:


http://kasya.byethost.com/Crysalis.rar
Jun 26 '06 #1
6 3936
Niheel
2,460 Expert Mod 2GB
You need to explain the problem better. You can't really expect people to help if you don't make the effort to explain exactly what your problem is. Post some background information.

- KUB
Jun 26 '06 #2
Banfa
9,065 Expert Mod 8TB
Actually I suspect this is advertising, there appears to be nothing wrong with the pages this link points.

I was going to post as much and give the author a chance to explain though.
Jun 26 '06 #3
Kasya
57
When i write the render_header(); in the end of file a lot of errors occur.
Jun 27 '06 #4
Banfa
9,065 Expert Mod 8TB
What errors? Give us as much information as you have?

As I saw in a newsgroup recently, imagine you walked into a garage said said the's a problem with my car, what do you think the mechanic would say in response?
Jun 28 '06 #5
Kasya
57
Warning: Missing argument 1 for render_header() in z:\home\localhost\www\crysalis\theme.php on line 9

Notice: Use of undefined constant THEME - assumed 'THEME' in z:\home\localhost\www\crysalis\theme.php on line 15

Notice: Use of undefined constant THEME - assumed 'THEME' in z:\home\localhost\www\crysalis\theme.php on line 16

Notice: Use of undefined constant THEME - assumed 'THEME' in z:\home\localhost\www\crysalis\theme.php on line 17

Notice: Use of undefined constant THEME - assumed 'THEME' in z:\home\localhost\www\crysalis\theme.php on line 20

Notice: Use of undefined constant THEME - assumed 'THEME' in z:\home\localhost\www\crysalis\theme.php on line 28

Notice: Use of undefined constant THEME - assumed 'THEME' in z:\home\localhost\www\crysalis\theme.php on line 31




Fatal error: Call to undefined function: dbquery() in z:\home\localhost\www\crysalis\theme.php on line 36
Jun 28 '06 #6
Banfa
9,065 Expert Mod 8TB
[play]

Customer: My right hand indicator is not working.

Mechanic: Well that could be the bulb, the switch the relay or the wiring.

Customer: Good, can you fix it?

Mechanic: Certainly where is your car?

Customer: Oh I left it at home.

Mechanic: So it's not here?

Customer: No, is that going to stop you fixing it?

Mechanic: You are a very silly customer!

[/play]


Warning: Missing argument 1 for render_header() in z:\home\localhost\www\crysalis\theme.php on line 9

I'd hope that this is rather obvious, you have called render_header without a required argument. The following example would produce this

[php]

function EchoWithNewLine( $text )
{
echo( $text . "\n" );
}

EchoWithNewLine();
[/php]

Notice: Use of undefined constant THEME - assumed 'THEME' in z:\home\localhost\www\crysalis\theme.php on line 15

You have used a constant that is not defined, so PHP assumes you mean the name of the constant itself as a string.

[php]
$THEME = "HELLO";

$text = THEME; /* Undefined constant, missing $ */

$array = ( "THEME" => "BLUE", "SIZE" => "BIG" );

$myTheme = $array[THEME];
/* Undefined constant, THEME should have " or '
round it, this will break later if someone
defines the constant THEME */
[/php]


Fatal error: Call to undefined function: dbquery() in z:\home\localhost\www\crysalis\theme.php on line 36

You have called a function that is not defined anywhere

[php]
ThisFunctionDoesNotExist();
[/php]
Jun 28 '06 #7

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

Similar topics

1
by: Miguel Dias Moura | last post by:
Hello, I am creating a master page for a web site. All pages created from this master page will use the same theme. However I am not able to add the theme in my master page. Why is that? ...
4
by: Ben | last post by:
Hi, I'm using images in my menu control. I have my menu setup based on this example: http://msdn2.microsoft.com/en-US/library/system.web.ui.webcontrols.menuitembinding.imageurlfield(VS.80).aspx ...
3
by: dvan | last post by:
I've created a theme Css for my Asp.net 2.0 web application. The web.config Pages Theme key is set to the theme name. Everything seams to work fine except for any page that I want to disable the...
1
by: Joey | last post by:
Hello, I have tried to programmatically set the theme for my master page by putting code in a "Page_PreInit" fuction in the master page's code behind. However, when I set a breakpoint there and...
1
by: Ron | last post by:
I have an application that requires a login at each visit to the site and can only be accessed by a login. A user can have different themes depending if it was assigned in there profile. Theme...
0
by: vikramp | last post by:
Hi, I am storing theme in web.config using <pages theme="mytheme"/>. I am then using the following code to read it from my webpage: Configuration config =...
11
by: greg | last post by:
Hi all, Is there a way to get the current theme name at design time? I'm trying to write a custom control for which I need to use images from the current theme. I have asigned a theme to the...
2
by: Redhairs | last post by:
The theme item(images,css,skin file) of each theme are under single theme folder of App_Theme. if there are some css or image files which are shared and used by every/some theme, where should I...
4
by: Neil Jones | last post by:
Hello, I would like to create my own theme(s) for a couple of my own blog sites. I am hoping a few better themes could bring lot more readers. So far, I have stayed with the default wordpress...
1
by: Henry Stock | last post by:
I am having trouble referencing a theme in my ASP.NET project. I was following a model that allowed for multiple themes. So The theme that I have is stored in named "Base" under the App_Theme...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.