Jump to content

Restoring IPS4 from Prod to Dev?


NoGi

Recommended Posts

What's the process of refreshing your dev environment with production now? I tried the same method as with 3.4.7 and it doesn't seem to work anymore. After changing conf_global.php I get a Error 500 screen when trying to get to ACP to change the other info over.

Link to comment
Share on other sites

I'd very much like to know the answer to this too.

Previously I always dumped the prod database, then loaded it into dev. At the same time, I used rsync to copy all the files from prod to dev. And finally, adjust the relevant parameters in config_global.php.

With IPB 4 this no longer works. For me it almost works, but the CSS and Javascript don't load on dev. Their URLs still point to prod. Emptying the datastore and using the support tool to refresh caches doesn't help. I even created a new theme, but problem persists.

Link to comment
Share on other sites

I still can't get it to work. I get the following in the error log:

[Sun Jun 07 19:27:55.852156 2015] [suexec:notice] [pid 441] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::216:3eff:fef0:15d5. Set the 'ServerName' directive globally to suppress this message
[Sun Jun 07 19:27:55.884128 2015] [auth_digest:notice] [pid 441] AH01757: generating secret for digest authentication ...
[Sun Jun 07 19:27:55.885008 2015] [lbmethod_heartbeat:notice] [pid 441] AH02282: No slotmem from mod_heartmonitor
[Sun Jun 07 19:27:56.335074 2015] [mpm_prefork:notice] [pid 441] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Sun Jun 07 19:27:56.335139 2015] [core:notice] [pid 441] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Jun 07 19:28:03.594932 2015] [access_compat:error] [pid 685] [client 121.222.157.100:54693] AH01797: client denied by server configuration: /var/www/html/forum/, referer: http://shrimpkeepersforum.com.au/
[Sun Jun 07 19:28:03.597728 2015] [access_compat:error] [pid 685] [client 121.222.157.100:54693] AH01797: client denied by server configuration: /var/www/html/forum/index.html, referer: http://shrimpkeepersforum.com.au/
[Sun Jun 07 19:28:03.609185 2015] [access_compat:error] [pid 685] [client 121.222.157.100:54693] AH01797: client denied by server configuration: /var/www/html/forum/index.php, referer: http://shrimpkeepersforum.com.au/
[Sun Jun 07 19:28:03.859334 2015] [:error] [pid 685] [client 121.222.157.100:54693] PHP Fatal error:  Uncaught exception 'ErrorException' with message 'mysqli::prepare(): Couldn't fetch IPS\\Db' in /var/www/html/forum/system/Db/Db.php:360\nStack trace:\n#0 [internal function]: IPS\\IPS::errorHandler(2, 'mysqli::prepare...', '/var/www/html/f...', 360, Array)\n#1 /var/www/html/forum/system/Db/Db.php(360): mysqli->prepare('/*IPS\\Session\\_...')\n#2 /var/www/html/forum/system/Db/Db.php(622): IPS\\_Db->preparedQuery('REPLACE INTO `c...', Array)\n#3 /var/www/html/forum/system/Session/Front.php(274): IPS\\_Db->replace('core_sessions', Array, true)\n#4 [internal function]: IPS\\Session\\_Front->write('ff7j6lv8b10an49...', '')\n#5 {main}\n  thrown in /var/www/html/forum/system/Db/Db.php on line 360, referer: http://shrimpkeepersforum.com.au/
[Sun Jun 07 19:43:23.445832 2015] [access_compat:error] [pid 687] [client 121.222.157.100:55265] AH01797: client denied by server configuration: /var/www/html/forum/admin/
[Sun Jun 07 19:43:23.446299 2015] [access_compat:error] [pid 687] [client 121.222.157.100:55265] AH01797: client denied by server configuration: /var/www/html/forum/admin/index.html
[Sun Jun 07 19:43:23.451975 2015] [access_compat:error] [pid 687] [client 121.222.157.100:55265] AH01797: client denied by server configuration: /var/www/html/forum/admin/index.php
[Sun Jun 07 19:43:23.496887 2015] [:error] [pid 687] [client 121.222.157.100:55265] PHP Fatal error:  Uncaught exception 'ErrorException' with message 'mysqli::prepare(): Couldn't fetch IPS\\Db' in /var/www/html/forum/system/Db/Db.php:360\nStack trace:\n#0 [internal function]: IPS\\IPS::errorHandler(2, 'mysqli::prepare...', '/var/www/html/f...', 360, Array)\n#1 /var/www/html/forum/system/Db/Db.php(360): mysqli->prepare('/*IPS\\_Settings...')\n#2 /var/www/html/forum/system/Db/Select.php(321): IPS\\_Db->preparedQuery('SELECT conf_key...', Array)\n#3 /var/www/html/forum/system/Db/Select.php(219): IPS\\Db\\_Select->runQuery()\n#4 /var/www/html/forum/system/Settings/Settings.php(127): IPS\\Db\\_Select->setKeyField('conf_key')\n#5 /var/www/html/forum/system/Settings/Settings.php(88): IPS\\_Settings->loadFromDb()\n#6 /var/www/html/forum/system/Request/Request.php(238): IPS\\_Settings->__get('xforward_matchi...')\n#7 /var/www/html/forum/system/Session/Admin.php(106): IPS\\_Request->ipAddress()\n#8 [internal function]: IPS\\Session\\_Admin->write('ionjjd40ld92m48...', '')\n#9 {main}\n  thrown in /var/www/html/forum/system/Db/Db.php on line 360
[Sun Jun 07 19:43:55.735596 2015] [access_compat:error] [pid 685] [client 66.249.69.67:54180] AH01797: client denied by server configuration: /var/www/html/forum/applications/core/interface/ckeditor/ckeditor/plugins/fakeobjects/

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...