require, require_once, include: which and why?

HOME ยป Databases

Syntax: [ Download ] [ Hide ]Syntax: [ Download ] [ Show ][Mon Mar 31 11:07:25 2014] [error] [client] PHP Notice:  Constant DBHOST already defined in /var/www/vhosts/ on line 9
[Mon Mar 31 11:07:25 2014] [error] [client] PHP Notice:  Constant DBUSER already defined in /var/www/vhosts/ on line 10
[Mon Mar 31 11:07:25 2014] [error] [client] PHP Notice:  Constant DBPASS already defined in /var/www/vhosts/ on line 11
[Mon Mar 31 11:07:25 2014] [error] &

Related to : require, require_once, include: which and why?
Modifying the include mechanism (include, require, include_once, require_once)
by Ingo in Databases
I submitted a feature request to the PHP team today to fix a minor problem Im having with templates then realized the full scope of what it would affect.
Basically, allow namespaces to be specified at include time. Consider

Problem with require rack/openid in Rails 3 [native require work properly]
by BooTeK in Databases

I install plugin open_id_authentication and have this error:

/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta/lib/active_support/dependencies.rb:167:in `require': no such file to load -- rack/openid (LoadError)

when I try to start rails server TAGS: Problem with require rack openid Rails

Warning: require(header.php) [function.require]: failed to open stream: No such file
by Octopuss in Databases
I have a file header.php. I am attempting to call the file using "require or include". I get the below error in both instances.
Please Help!!!!!!!!
require (header
"Warning: require() [function.require]: failed to open stream" but file is there
by Germany in Databases

Trying to use MyThreads links manager to update links on our front page without having to directly edit the code.

Here is the page we're trying to include on the home page:

and here is the home page:

Fatal error: require() [function.require]: Failed opening required '/' (inc
by Guid in Databases

HI everybody,
I have this error.i created a user login page using sfguard user.(symfony framework)
but i include php.ini
Windows: "path1;path2"
;include_path = ".;c:php5.3.8PEAR"

but still same error was comming.what is the problem.plz anybody help me.

Alternative to require.paths to edit require search directories programmatically?
by patheems in Databases

I'm looking for a way to basically do what manipulating require.paths used to let you do; edit the paths require will search for modules in from within a running program.

The setup (that I can't change, or workaround for various reasons) is that I have a project containing a main JS f

Creating IIS7 web application using PowerShell with Require SSL set to “Require”
by Jason Dockery in Databases

I'm creating an IIS web site using PowerShell's New-WebSite cmdlet, and within that a web application using New-WebApplication.

The SSL settings for the web application need to be set to Require SSL; Require as shown below.

For consis

Backbone.js + require.js application: Not returning a module view loaded with require.js
by bmg in Databases

I have two backbone Views. One is the main view and the other is a view that will be used within the main view. I am making individual modules for my various views. I have the main view being loaded and run fine from the router. Here are my two views:


I don't understand how require.js handles the load paths. Do I need to use require.config every time I define a module?
by James Clarke in Databases

I am learning about require.js and think I am just missing something. I don't understand how it loads files.

I have my jquery file in a lib directory.

This does not work:

It shows that jquery is being loaded in the chrome network panel. Error is: Uncaught Type

Confusion about Spring namespaces and how tags such as and require/ don't require prefixes
by demetris in Databases
So far in my very short Spring development experience, I've been copying the xml namespace declarations and a lot of the spring configuration from online or from Spring recipe books as they relate to my use-cases. I don't understand how tags in spring xml files take on the ability to have or not hav
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © All Rights Reserved .