require, require_once, include: which and why?

Category : 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] &

View Replies

Related to : require, require_once, include: which and why?

Modifying the include mechanism (include, require, include_once, require_once)
Category : Development
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

View Replies

Problem with require rack/openid in Rails 3 [native require work properly]
Category : Programming Languages

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

View Replies

Warning: require(header.php) [function.require]: failed to open stream: No such file
Category : Development
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

View Replies

Creating IIS7 web application using PowerShell with Require SSL set to “Require”
Category : Development Tools & Services

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

View Replies

"Warning: require() [function.require]: failed to open stream" but file is there
Category : PHP

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:

View Replies

Fatal error: require() [function.require]: Failed opening required '/' (inc
Category : PHP

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.

View Replies

Alternative to require.paths to edit require search directories programmatically?
Category : Development Tools & Services

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

View Replies

Backbone.js + require.js application: Not returning a module view loaded with require.js
Category : Web Design

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:



View Replies

I don't understand how require.js handles the load paths. Do I need to use require.config every time I define a module?
Category : Web Design

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

View Replies

Confusion about Spring namespaces and how tags such as and require/ don't require prefixes
Category : Programming Languages
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

View Replies

2012 / 2017 Copyrights BigHow , All Rights Reserved .