DeveloperSide.NET Forums
August 17, 2019, 03:04:31 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: I don't know what I done "LOL"  (Read 11098 times)
0 Members and 1 Guest are viewing this topic.
Wilz
Member
*
Posts: 26


View Profile
« on: March 25, 2008, 12:27:12 AM »

Something happened and now my webscripts are comming up with errors. I was trying to configure my apache server with my router and now my scripts have alot of errors.

Errors: Notice: Use of undefined constant sql_file - assumed 'sql_file' in E:\www\vhosts\aedating\install\index.php on line 33

Notice: Use of undefined constant name - assumed 'name' in E:\www\vhosts\aedating\install\index.php on line 34

Notice: Use of undefined constant ex - assumed 'ex' in E:\www\vhosts\aedating\install\index.php on line 35

Notice: Use of undefined constant desc - assumed 'desc' in E:\www\vhosts\aedating\install\index.php on line 36

Notice: Use of undefined constant def - assumed 'def' in E:\www\vhosts\aedating\install\index.php on line 37

Notice: Use of undefined constant def_exp - assumed 'def_exp' in E:\www\vhosts\aedating\install\index.php on line 38

Notice: Use of undefined constant check - assumed 'check' in E:\www\vhosts\aedating\install\index.php on line 52

Notice: Use of undefined constant sql_clean_db - assumed 'sql_clean_db' in E:\www\vhosts\aedating\install\index.php on line 54

Notice: Use of undefined constant name - assumed 'name' in E:\www\vhosts\aedating\install\index.php on line 55

Notice: Use of undefined constant ex - assumed 'ex' in E:\www\vhosts\aedating\install\index.php on line 56

Notice: Use of undefined constant desc - assumed 'desc' in E:\www\vhosts\aedating\install\index.php on line 57

Notice: Use of undefined constant def - assumed 'def' in E:\www\vhosts\aedating\install\index.php on line 58

Notice: Use of undefined constant check - assumed 'check' in E:\www\vhosts\aedating\install\index.php on line 59

Notice: Use of undefined constant sql_clean_tables - assumed 'sql_clean_tables' in E:\www\vhosts\aedating\install\index.php on line 61

Notice: Use of undefined constant name - assumed 'name' in E:\www\vhosts\aedating\install\index.php on line 62

Notice: Use of undefined constant ex - assumed 'ex' in E:\www\vhosts\aedating\install\index.php on line 63

Notice: Use of undefined constant desc - assumed 'desc' in E:\www\vhosts\aedating\install\index.php on line 64

Notice: Use of undefined constant def - assumed 'def' in E:\www\vhosts\aedating\install\index.php on line 65

Notice: Use of undefined constant check - assumed 'check' in E:\www\vhosts\aedating\install\index.php on line 66

Notice: Use of undefined constant site_title - assumed 'site_title' in E:\www\vhosts\aedating\install\index.php on line 68

Notice: Use of undefined constant name - assumed 'name' in E:\www\vhosts\aedating\install\index.php on line 69

Notice: Use of undefined constant ex - assumed 'ex' in E:\www\vhosts\aedating\install\index.php on line 70

Notice: Use of undefined constant desc - assumed 'desc' in E:\www\vhosts\aedating\install\index.php on line 71

Notice: Use of undefined constant check - assumed 'check' in E:\www\vhosts\aedating\install\index.php on line 72

Notice: Use of undefined constant site_url - assumed 'site_url' in E:\www\vhosts\aedating\install\index.php on line 74

Notice: Use of undefined constant name - assumed 'name' in E:\www\vhosts\aedating\install\index.php on line 75

Notice: Use of undefined constant ex - assumed 'ex' in E:\www\vhosts\aedating\install\index.php on line 76

Notice: Use of undefined constant desc - assumed 'desc' in E:\www\vhosts\aedating\install\index.php on line 77

Notice: Use of undefined constant def - assumed 'def' in E:\www\vhosts\aedating\install\index.php on line 78

Notice: Use of undefined constant def_exp - assumed 'def_exp' in E:\www\vhosts\aedating\install\index.php on line 79

Notice: Use of undefined constant check - assumed 'check' in E:\www\vhosts\aedating\install\index.php on line 82

Notice: Use of undefined constant site_email - assumed 'site_email' in E:\www\vhosts\aedating\install\index.php on line 84

Notice: Use of undefined constant name - assumed 'name' in E:\www\vhosts\aedating\install\index.php on line 85

Notice: Use of undefined constant ex - assumed 'ex' in E:\www\vhosts\aedating\install\index.php on line 86

Notice: Use of undefined constant desc - assumed 'desc' in E:\www\vhosts\aedating\install\index.php on line 87

Notice: Use of undefined constant check - assumed 'check' in E:\www\vhosts\aedating\install\index.php on line 88

Notice: Use of undefined constant notify_email - assumed 'notify_email' in E:\www\vhosts\aedating\install\index.php on line 90



I thought it might be errors from within the script but it's not because before my server starting having problems my script was installing with no errors. Now that my server is up and running fine, I can't seem to install my webscript without errors. I've done nothing to my webscript, so I'm guessing it's not the script. I did how ever modify the server config file and vhost file but as of now my script won't install without errors can some one please have alook at my config and vhost files. Also I have the server installed on a seperate drive from my windows directory drive.


httpd.config file:

#  Web.Developer Server Suite
#  v2.00-httpd22-ssl
#
#  Professional Edition
#  http://www.devside.net
#  admin@devside.net
#
#  Community Edition
#  http://sourceforge.net/projects/webdeveloper
#  devside_net@users.sourceforge.net


ThreadsPerChild 250
MaxRequestsPerChild  0

Listen 80

ServerRoot "/www/Apache22"
DocumentRoot "/www/vhosts/localhost"

ServerName localhost:80
ServerAdmin admin@localhost

ErrorLog logs/error.log
LogLevel error


#LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
#LoadModule asis_module modules/mod_asis.so
#LoadModule auth_basic_module modules/mod_auth_basic.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule authn_anon_module modules/mod_authn_anon.so
#LoadModule authn_dbm_module modules/mod_authn_dbm.so
#LoadModule authn_default_module modules/mod_authn_default.so
#LoadModule authn_file_module modules/mod_authn_file.so
#LoadModule authz_dbm_module modules/mod_authz_dbm.so
#LoadModule authz_default_module modules/mod_authz_default.so
#LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
#LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
#LoadModule cgi_module modules/mod_cgi.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
#LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule headers_module modules/mod_headers.so
#LoadModule imagemap_module modules/mod_imagemap.so
#LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.so
#LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
#LoadModule negotiation_module modules/mod_negotiation.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule status_module modules/mod_status.so
#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
<IfDefine SSL>
   LoadModule ssl_module modules/mod_ssl.so
</IfDefine>


DefaultType text/html

<IfModule dir_module>
    DirectoryIndex index.html index.php index.aspx
</IfModule>

<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
</FilesMatch>

AccessFileName .htaccess

<IfModule autoindex_module>
   IndexIgnore .htaccess
</IfModule>

<Directory />
    Options FollowSymLinks
    AllowOverride Limit
    Order deny,allow
    Deny from all
    Satisfy all
</Directory>

<Directory "/www/vhosts/localhost">
    Options Indexes FollowSymLinks
    Order allow,deny
    Allow from all
</Directory>

<IfModule mime_module>
    TypesConfig conf/mime.types
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
</IfModule>


# Apache base configuration
#
# The configuration files in the conf/extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server.

# Server-pool management (MPM specific)
#Include conf/extra/httpd-mpm.conf

# Multi-language error messages
#Include conf/extra/httpd-multilang-errordoc.conf

# Fancy directory listings
Include conf/extra/httpd-autoindex.conf

# Language settings
#Include conf/extra/httpd-languages.conf

# User home directories
#Include conf/extra/httpd-userdir.conf

# Real-time info on requests and configuration
Include conf/extra/httpd-info.conf

# Local access to the Apache HTTP Server Manual
#Include conf/extra/httpd-manual.conf

# Distributed authoring and versioning (WebDAV)
#Include conf/extra/httpd-dav.conf

# Various default settings
Include conf/extra/httpd-default.conf


# DeveloperSide.NET Server-Suite Configuration
#

# mod_deflate with mod_logio
Include conf/extra/suite-deflate_logio.conf

# mod_php5
Include conf/extra/suite-php5.conf

# mod_security
Include conf/extra/mod_security2/mod_security2.conf

# private directory
Include conf/extra/suite-private.conf

# cgi-bin
Include conf/extra/suite-cgi.conf

# Our virtual hosts, including localhost
Include conf/extra/httpd-vhosts.conf

# custom changes
# Note that this configuration file should be the last included file under httpd.conf
Include conf/extra/suite-custom.conf


<IfModule ssl_module>
   Include conf/extra/httpd-ssl.conf
   SSLRandomSeed startup builtin
   SSLRandomSeed connect builtin
</IfModule>

------------------------------------------------------------------------------------------------------

vhost file:

#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#

NameVirtualHost *:80

# Default Virtual Host --> \www\vhosts\localhost
#
# This Virtual Host serves two functions:
# 1) As the VH for http://localhost
# 2) As the default VH for all unknown hosts that resolve to this server
#
# Do not remove/edit this VH unless you know exactly what you are doing.
# Note that this should be the 1st VH Apache parses from the configuration files.
# Note that permissions for this VH's DocumentRoot are taken from httpd.conf

<VirtualHost *:80>
   DocumentRoot /www/vhosts/localhost/
   ServerName localhost

   Include conf/extra/vhosts/localhost/*.conf
</VirtualHost>

#
# VirtualHost examples:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#

# Example Virtual Host host1.tld --> \www\vhosts\host1.tld
#
#<VirtualHost *:80>
#   ServerName  host1.tld
#   ServerAlias www.host1.tld
#   DocumentRoot /www/vhosts/host1.tld
#   ErrorLog /www/Apache22/logs/error.log
#
#   <Directory "/www/vhosts/host1.tld">
#      Options All
#      AllowOverride All
#      order allow,deny
#      allow from all
#   </Directory>
#</VirtualHost>

# Example Virtual Host host2.tld --> \www\vhosts\host2.tld
#
#<VirtualHost *:80>
#   ServerName  host2.tld
#   ServerAlias www.host2.tld
#   DocumentRoot /www/vhosts/host2.tld
#   ErrorLog /www/Apache22/logs/error.log
#
#   <Directory "/www/vhosts/host2.tld">
#      Options All
#      AllowOverride All
#      order allow,deny
#      allow from all
#   </Directory>
#</VirtualHost>

<VirtualHost *:80>
    ServerName blah
    ServerAlias www.blah
    ServerAdmin admin@blah
    DocumentRoot /www/vhosts/blah
    ErrorLog logs/blah-access_log
    CustomLog logs/blah-access_log common
  
    <Directory "/www/vhosts/blah">
         Options +FollowSymlinks
         AllowOverride All
         Order allow,deny
         Allow from all


               AddType text/html .php .phps
      AddHandler application/x-httpd-php .php
      AddHandler application/x-httpd-php-source .phps

    </Directory>
</VirtualHost>
AccessFileName .htaccess

<Files ~ "^\.htaccess$">
   order allow,deny
   deny from all
</Files>

<VirtualHost *:80>
    ServerName co-resources.servebbs.net
    ServerAdmin admin@co-resources.servebbs.net
    DocumentRoot /www/vhosts/aedating
    ErrorLog logs/aedating-error_log
    CustomLog logs/aedating-access_log common
    <Directory "/www/vhosts/aedating">
         Options FollowSymLinks
         AllowOverride None
         Order allow,deny
         Allow from all

                AddType text/html .php .phps
      AddHandler application/x-httpd-php .php
      AddHandler application/x-httpd-php-source .phps

    </Directory>
</VirtualHost>


<VirtualHost *:80>
    ServerAdmin admin@blah
    DocumentRoot /www/vhosts/blah
    ServerName blah
    ServerAlias www.blah
    ErrorLog logs/blah-error_log
    CustomLog logs/blah-access_log common
    <Directory "/www/vhosts/blah">
         Options FollowSymLinks
         AllowOverride None
         Order allow,deny
         Allow from all

                AddType text/html .php .phps
      AddHandler application/x-httpd-php .php
      AddHandler application/x-httpd-php-source .phps

    </Directory>
</VirtualHost>


<VirtualHost *:80>
    ServerName blah
    ServerAlias www.blah
    ServerAdmin admin@blah
    DocumentRoot /www/vhosts/blah
    ErrorLog logs/blah-access_log
    CustomLog logs/blah-access_log common
  
    <Directory "/www/vhosts/blah">
         Options +FollowSymlinks
         AllowOverride All
         Order allow,deny
         Allow from all


               AddType text/html .php .phps
      AddHandler application/x-httpd-php .php
      AddHandler application/x-httpd-php-source .phps

    </Directory>
</VirtualHost>
AccessFileName .htaccess

<Files ~ "^\.htaccess$">
   order allow,deny
   deny from all
</Files>


<VirtualHost *:80>
    ServerName  blah
    ServerAlias www.blah
    ServerAdmin admin@blah
    DocumentRoot /www/vhosts/blah
    ErrorLog logs/blah-access_log
    CustomLog logs/blah-access_log common
  
    <Directory "/www/vhosts/blah">
         Options +FollowSymlinks
         AllowOverride All
         Order allow,deny
         Allow from all


               AddType text/html .php .phps
      AddHandler application/x-httpd-php .php
      AddHandler application/x-httpd-php-source .phps

    </Directory>
</VirtualHost>

------------------------------------------------------------------------------------------------------

I've also tryed adding the server Drive (E:) infront of, ServerRoot "/www/Apache22"
DocumentRoot "/www/vhosts/localhost"

and so on and so forth but I'm still comming up with errors.

Please if someone can help, I'd be much ablidged.
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #1 on: March 25, 2008, 01:12:23 AM »

Those are not errors. It just means you are using php code like this...
array[name]

Which is not the proper way, it should be...
array['name']

Notice the '' around the 'name' part.
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!