Installed SEO Advanced but can't save system settings?

Discussions and support about the different URL Rewriting techniques for phpBB.

Moderator: Moderators

Installed SEO Advanced but can't save system settings?

Postby kcackler » Tue Nov 04, 2008 8:52 pm

I've successfully installed the modification, and have done so many, many times on client sites. This time, however, there is something wrong. After installing the mod and going to the PHPBB SEO tab in the admincp, I cannot save my changes to the settings. I can select my settings, and I can hit save. When I hit save, it says that the cache file was written successfully, but the settings aren't saved.

Additionally, phpbb_cache.php isn't in the cache directory like it is on my other sites that I've done this on.

I've verified that the cache folder is writable, and I'm just losing my head trying to figure this out. Here is the message the phpbb seo gives me on the "SEO Class Settings" page:

The cache folder configured is : e:\hosting\member\newsoftw\forum\phpbb_seo\cache/
The cache folder was successfully found.
The cache folder is writable.

Please help.
Kevin
kcackler
 
Posts: 3
Joined: Tue Nov 04, 2008 8:12 pm

Advertisement

Postby SeO » Wed Nov 05, 2008 8:15 am

According to the cache path you displayed, it seems that you're installing the mod on a windows server. Usually, there is nothing to do on windows machine to allow a script to write in a dir, beside the read only property that of course must not be checked in the dir properties.

If so I don't really know what could occur. Windows server are full of surprises as you must know.

Could you confirm about the windows server.

Here a thread that may help since it covers the same issue : http://www.phpbb-seo.com/boards/mixed-s ... t3442.html
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby kcackler » Wed Nov 05, 2008 4:11 pm

The server IS a windows one. If I had known that at the beginning of the project, I probably would have declined, as I've never enjoyed trying to get things to work right on it.

There are no files in the cache directory, so that topic's fix isn't mine. I don't know what else to do. If I manually placed a phpbb_cache.php file in the directory, configured with my settings, would my settings then hold? If that won't work, then I'm just going to give up on it I think...
kcackler
 
Posts: 3
Joined: Tue Nov 04, 2008 8:12 pm

Postby SeO » Thu Nov 06, 2008 8:35 am

mm.
Try to upload a phpbb_cache.php file in phpbb_seo/cache/ with this in it :
Code: Select all
<?php
/**
* phpBB_SEO Class
* www.phpBB-SEO.com
* @package Advanced phpBB3 SEO mod Rewrite
*/
if (!defined('IN_PHPBB')) {
   exit;
}
$this->cache_config['settings'] = array ( 'url_rewrite' => false, 'modrtype' => 3, 'profile_inj' => true, 'profile_vfolder' => true, 'profile_noids' => true, 'rewrite_usermsg' => true, 'rem_sid' => false, 'rem_hilit' => true, 'rem_small_words' => true, 'virtual_folder' => true, 'virtual_root' => false, 'cache_layer' => true, 'rem_ids' => false, 'copyrights' => array ( 'img' => true, 'txt' => '', 'title' => '', ), 'no_dupe' => array ( 'on' => true, ), 'zero_dupe' => array ( 'on' => true, 'strict' => true, 'post_redir' => 'guest', ), );
$this->cache_config['forum'] = array (  );
?>


Chance is little but not null that this will allow the server to finally write in the file.

About windows and web servers, I just think that it's a really tricky choice that should only be made when mandatory (when using asp or .net), in the general case, it's just always better to use a linux based os for the web, and by very far (faster, lighter, more reliable and more secured, all these by far).

So if this is the beginning of your project and if you have no mandatory reason to keep windows, it may be time to switch os before you get into more trouble, because even without mod rewrite you could.

Simple check to perform, do you see any cached files in the regular phpBB3 cache/ dir ?
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm


Return to phpBB mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: micvegas and 6 guests