Kleine Vragen Topic #1

Gestart doorLennard4.284 reacties15.585 weergaven

4.285 berichten · pagina 228 van 286

Berichten
3.037
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik prober iets te requiren, daarvoor gebruik ik deze code:

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/require"]require[/URL] [COLOR= #DD0000]"../config.php"[/COLOR][COLOR= #007700];[/COLOR]


De rest van de code wil ik liever niet openbare, het probleem nu is dat ik config.php wil requiren wat niet lukt, config.php zit in de map hiervoor, ik krijg deze errors:

Quote:
Warning: require(../config.php): failed to open stream: No such file or directory in /home/*****/domains/*****/public_html/func/layout.php on line 2

Warning: require(../config.php): failed to open stream: No such file or directory in /home/****/domains/****/public_html/func/layout.php on line 2

Fatal error: require(): Failed opening required ../config.php (include_path=.:/usr/local/lib/php) in /home/*****/domains/*****/public_html/func/layout.php on line 2
0
Berichten
201
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
probeer het zo:

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/require"]require[/URL] [COLOR= #DD0000]"./config.php"[/COLOR][COLOR= #007700];[/COLOR]
0
Berichten
7.806
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Videotube schreef:
Ik prober iets te requiren, daarvoor gebruik ik deze code:

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/require"]require[/URL] [COLOR= #DD0000]"../config.php"[/COLOR][COLOR= #007700];[/COLOR]
De rest van de code wil ik liever niet openbare, het probleem nu is dat ik config.php wil requiren wat niet lukt, config.php zit in de map hiervoor, ik krijg deze errors:

Quote:
Warning: require(../config.php): failed to open stream: No such file or directory in /home/*****/domains/*****/public_html/func/layout.php on line 2

Warning: require(../config.php): failed to open stream: No such file or directory in /home/****/domains/****/public_html/func/layout.php on line 2

Fatal error: require(): Failed opening required ../config.php (include_path=.:/usr/local/lib/php) in /home/*****/domains/*****/public_html/func/layout.php on line 2

Do require("../config.php");

Maar hij kan het bestand niet vinden smile
0
Berichten
3.037
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Oburoni schreef:
probeer het zo:
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/require"]require[/URL] [COLOR= #DD0000]"./config.php"[/COLOR][COLOR= #007700];[/COLOR]


Dan gaan de errors wel weg, maar dan kan ik geen variables laden uit config.php
Bjarnootjuh schreef:
Eerdere citaten tonen
Videotube schreef:
Ik prober iets te requiren, daarvoor gebruik ik deze code:
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/require"]require[/URL] [COLOR= #DD0000]"../config.php"[/COLOR][COLOR= #007700];[/COLOR]


De rest van de code wil ik liever niet openbare, het probleem nu is dat ik config.php wil requiren wat niet lukt, config.php zit in de map hiervoor, ik krijg deze errors:

Quote:
Warning: require(../config.php): failed to open stream: No such file or directory in /home/*****/domains/*****/public_html/func/layout.php on line 2

Warning: require(../config.php): failed to open stream: No such file or directory in /home/****/domains/****/public_html/func/layout.php on line 2

Fatal error: require(): Failed opening required ../config.php (include_path=.:/usr/local/lib/php) in /home/*****/domains/*****/public_html/func/layout.php on line 2
Do require("../config.php");

Maar hij kan het bestand niet vinden smile
Letterlijk vertaald denk je dat die de bestand niet kan vinden, maar op andere paginas werkt dat bestand wel. Vind het erg vreemd, heb gewoon de variables gekopieerd en op de doelpagina gezet dat werkt ook.
0
Berichten
4.451
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Videotube schreef:
Eerdere citaten tonen
Oburoni schreef:
probeer het zo:
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/require"]require[/URL] [COLOR= #DD0000]"./config.php"[/COLOR][COLOR= #007700];[/COLOR]

Dan gaan de errors wel weg, maar dan kan ik geen variables laden uit config.php
Bjarnootjuh schreef:
Eerdere citaten tonen
Videotube schreef:
Ik prober iets te requiren, daarvoor gebruik ik deze code:
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/require"]require[/URL] [COLOR= #DD0000]"../config.php"[/COLOR][COLOR= #007700];[/COLOR]


De rest van de code wil ik liever niet openbare, het probleem nu is dat ik config.php wil requiren wat niet lukt, config.php zit in de map hiervoor, ik krijg deze errors:

Quote:
Warning: require(../config.php): failed to open stream: No such file or directory in /home/*****/domains/*****/public_html/func/layout.php on line 2

Warning: require(../config.php): failed to open stream: No such file or directory in /home/****/domains/****/public_html/func/layout.php on line 2

Fatal error: require(): Failed opening required ../config.php (include_path=.:/usr/local/lib/php) in /home/*****/domains/*****/public_html/func/layout.php on line 2
Do require("../config.php");

Maar hij kan het bestand niet vinden smile
Letterlijk vertaald denk je dat die de bestand niet kan vinden, maar op andere paginas werkt dat bestand wel. Vind het erg vreemd, heb gewoon de variables gekopieerd en op de doelpagina gezet dat werkt ook.

Staat die file in een andere map of niet?
0
Berichten
3.037
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Bartv schreef:
Eerdere citaten tonen
Videotube schreef:
Eerdere citaten tonen
Oburoni schreef:
probeer het zo:
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/require"]require[/URL] [COLOR= #DD0000]"./config.php"[/COLOR][COLOR= #007700];[/COLOR]

Dan gaan de errors wel weg, maar dan kan ik geen variables laden uit config.php
Eerdere citaten tonen
Bjarnootjuh schreef:
Eerdere citaten tonen
Videotube schreef:
Ik prober iets te requiren, daarvoor gebruik ik deze code:
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/require"]require[/URL] [COLOR= #DD0000]"../config.php"[/COLOR][COLOR= #007700];[/COLOR]


De rest van de code wil ik liever niet openbare, het probleem nu is dat ik config.php wil requiren wat niet lukt, config.php zit in de map hiervoor, ik krijg deze errors:

Quote:
Warning: require(../config.php): failed to open stream: No such file or directory in /home/*****/domains/*****/public_html/func/layout.php on line 2

Warning: require(../config.php): failed to open stream: No such file or directory in /home/****/domains/****/public_html/func/layout.php on line 2

Fatal error: require(): Failed opening required ../config.php (include_path=.:/usr/local/lib/php) in /home/*****/domains/*****/public_html/func/layout.php on line 2
Do require("../config.php");

Maar hij kan het bestand niet vinden smile
Letterlijk vertaald denk je dat die de bestand niet kan vinden, maar op andere paginas werkt dat bestand wel. Vind het erg vreemd, heb gewoon de variables gekopieerd en op de doelpagina gezet dat werkt ook.

Staat die file in een andere map of niet?

Ja, de map ervoor.
0
Berichten
7.806
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Probeer is *DIT IS DE ROOT*../map naam hier/config.php?
0
Berichten
3.037
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Bjarnootjuh schreef:
Probeer is *DIT IS DE ROOT*../map naam hier/config.php?
Nopes.. Maar maakt niet uit, paar variables extra kan geen kwaad.
0
Berichten
281
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
ik wil graag dat als je naar beneden scrolt de advertenties meescrollen weet iemand de HTML ?
0
Berichten
7.681
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Html daar voor bestaat niet.

De css is:
position:fixed;
0
Berichten
281
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Freestyle schreef:
Html daar voor bestaat niet.

De css is:
position:fixed;
hoe zet ik dat dan in WordPress
0
Berichten
7.681
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Sdyekbun schreef:
Eerdere citaten tonen
Freestyle schreef:
Html daar voor bestaat niet.
De css is:
position:fixed;

hoe zet ik dat dan in WordPress

Ik ken de layout niet.
Misschien dat ik met mijn glazen bol wat code van jouw kan zien.
0
Berichten
281
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
hierzo staat de code
Spoiler tonen
/*
Theme Name: Custom Community
Theme URI: http://themekraft.com/shop/custom-community-pro/
Description: Create your individual website within minutes. Custom Community is a WordPress and BuddyPress theme framework that enables you to build your site with all the features you love. Easy to use jQuery slideshow. List posts under your pages in magazine layouts. Use powerful theme settings to customize every part of the theme. 35 widget areas, 5 special widgets and 2 custom WP 3.0 header menus. 14+ languages available. 3 predefined colour schemes (white, grey, black) with clean and simple browsersafe CSS design to start from. Support at http://themekraft.com/support.
Version: 1.10
Author: Themekraft
Author URI: http://themekraft.com/
Tags: buddypress, translation-ready, dark, light, white, gray, left-sidebar, right-sidebar, one-column, two-columns, three-columns, fixed-width, flexible-width, full-width-template, custom-header, flexible-header, custom-menu, custom-colors, custom-background, theme-options, featured-images, editor-style, sticky-post, threaded-comments, photoblogging
License: GNU General Public License v2.0 / License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/* Reset browser defaults */
@import url( _inc/css/reset.css );

.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.alignleft {
float: left;
margin-right: 15px;
}

.alignright {
float: right;
margin-left: 15px;
}

div.post .wp-caption {
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
margin-bottom:12px;
}

div.post dd.wp-caption p.wp-caption-text, div.post .wp-caption p.wp-caption-text {
font-size: 0.9em;
line-height: 17px;
padding: 0 4px 5px 0;
margin: 0;
}
0
Berichten
7.681
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Heb ik niet veel aan, heb je een online voorbeeld?
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Kijk gewoon met Firebug in Firefox (of die in Chrome) in welk divje die advertentie staat. Dat divje geef je dan die position: fixed; mee.
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren