|
Re: Migrate and Upgrade ISsue |
Fri, 04 January 2019 06:22 |
|
Thanks for the help. I finally fixed the problem. It was a custom theme issue rather than fudforum issue.
Now I am running into another problem. I was able to change the theme and everything started working except Administration->category Manager. Everytime I click that link the script runs out of memory. I have tried allocating upto 4G ram but its just eats up everything and nothing comes out.
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in /var/www/forums.example.com/adm/admcat.php on line 120
Call Stack
# Time Memory Function Location
1 0.0032 241720 {main}( ) .../admcat.php:0
|
|
Re: Migrate and Upgrade ISsue |
Wed, 05 December 2018 02:57 |
|
I think the rewrite rules depend on the way the system is configured since i am missing that info
1. forum web : /var/www/forums.example.com
2. forum data: /var/www/FUDforum
I changed my .htaccess to
RewriteEngine On
RewriteBAse /forum
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php/$1 [L]
with no effect actually it started givingInternal Server error
|
|
Re: Migrate and Upgrade ISsue |
Tue, 04 December 2018 13:43 |
|
My .htaccess contains the following lines, nothing more:
RewriteEngine On
RewriteBase /forum
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php/$1 [L]
|
|
Re: Migrate and Upgrade ISsue |
Tue, 04 December 2018 01:02 |
|
I have been hunting the forums for days to find if there was an example or suggested apache config but couldnt find any.
|
|
|
|
Migrate and Upgrade ISsue |
Mon, 03 December 2018 03:23 |
|
I am running fudforums 3.0.4 and have to migrate them to a new host and upgrade to 3.0.9.
Steps taken
1. Install 3.0.4 on the new host at /var/www/
2. Check if the default install is working. (which works)
2. Take backup from current hosting and restore to the new location. from /var/www/virtuals/
3. Run consistency check
4. Run reindex
At this point no matter what link I click it redirects to the same page.1
1. Login works I can go into administration using user/password from the newly restored DB
2. All links on first page except Administration(after loing) return to same page.
Server Setup :
1. Debian Stretch
2. Apache 2.0
3. php5.6 (since 7.0 is missing a function)
4. mysql (hosted locally)
my .htaccess
<pre>
php_value output_buffering 64000
php_value variables_order GPCS
php_flag implicit_flush 0
php_flag register_globals 0
php_flag register_argc_argv 0
php_flag magic_quotes_gpc 0
php_flag session.use_trans_sid 0
php_flag expose_php 0
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php/$1 [L]
<Limit CONNECT>
order deny,allow
deny from all
</Limit>
## EXPIRES CACHING ##
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 days"
## EXPIRES CACHING ##
</pre>
Apache config
<VirtualHost *:80>
ServerAdmin webmaster@example.com
DocumentRoot /var/www/forums.example.com/
ServerName forums.example.com
ErrorLog /var/log/apache2/forums.example.com/error_log
CustomLog /var/log/apache2/forums.example.com/access_log combined
<Directory /var/www/forums.example.com/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
|
|