Welcome Guest, Not a member yet? Register   Sign In
$this->db->insert creates 3 rows instead of 1. This bug depends from a name of a view (unbelievable but true)
#7

[eluser]PaulBY[/eluser]
I've tested it on a clean CI, there's no .htaccess file.
Apache2 configs:
site_available/test
Code:
<VirtualHost 127.0.0.1:80>
        ServerAdmin webmaster@localhost
        ServerName test
        DocumentRoot /home/paul/www/test
        <Directory /home/paul/www/test/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

        ErrorLog /home/paul/www/test.error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /home/paul/www/test.access.log combined

</VirtualHost>
Mods enabled:
Code:
alias.conf       autoindex.conf  mime.conf  rewrite.load
alias.load       autoindex.load  mime.load  setenvif.conf
auth_basic.load       cgi.load       negotiation.conf setenvif.load
authn_file.load       deflate.conf    negotiation.load status.conf
authz_default.load    deflate.load    php5.conf  status.load
authz_groupfile.load  dir.conf       php5.load
authz_host.load       dir.load       reqtimeout.conf
authz_user.load       env.load       reqtimeout.load
apache2.conf
Code:
LockFile ${APACHE_LOCK_DIR}/accept.lock

#
# PidFile: The file in which the server should record its process
# identification number when it starts.
# This needs to be set in /etc/apache2/envvars
#
PidFile ${APACHE_PID_FILE}

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15

##
## Server-Pool Size Regulation (MPM specific)
##

# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_prefork_module>
    StartServers          5
    MinSpareServers       5
    MaxSpareServers      10
    MaxClients          150
    MaxRequestsPerChild   0
</IfModule>


Messages In This Thread
$this->db->insert creates 3 rows instead of 1. This bug depends from a name of a view (unbelievable but true) - by El Forum - 05-07-2012, 05:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB