SMF Development > Bug Reports
[4981] [1.x, 2.0] handling MS Smart Quotes
emanuele:
--- Quote from: MrPhil on April 27, 2012, 12:10:13 PM ---SMF could do some testing at the top of installation
--- End quote ---
Do tests is one of the proposals, but I'd do them more frequently than just during the installation.
--- Quote from: MrPhil on April 27, 2012, 12:10:13 PM ---
--- Quote ---Is there any other problem with the cache?
--- End quote ---
I don't know of specific problems, except that I see a lot of "file not found" reports in the support board. Emptying out the cache seems to do the trick, but SMF still needs fixing.
--- End quote ---
Clean SMF without mods?
What cache level?
A list of topics could help in finding a pattern and reduce the possibilities.
The second problem I mentioned (that is actually the most important) should lead to "Parse error"-like messages, but not file not found.
--- Quote from: MrPhil on April 27, 2012, 12:10:13 PM ---If it isn't easily fixed, and doesn't speed up the system all that much, I'd just get rid of it.
--- End quote ---
Reading your posts I start thinking we should get rid of everything! :P
Just, joking of course. ;)
MrPhil:
--- Quote from: emanuele on April 27, 2012, 01:00:41 PM ---
--- Quote from: MrPhil on April 27, 2012, 12:10:13 PM ---SMF could do some testing at the top of installation
--- End quote ---
Do tests is one of the proposals, but I'd do them more frequently than just during the installation.
--- End quote ---
My proposal is to test once, during installation, to see what permissions are needed for various directory and file operations. Write out a permissions.php file with the defines and use that everywhere permissions are set. Why would more frequent testing be needed? A host system changing their PHP setup will be a very rare event. In such cases, if the user has problems, they can either manually edit the permissions.php file, or run some utility to rebuild it.
P.S. Make sure that this works properly on Windows servers, too, even if we operate with Unix-style "ugo" permissions.
--- Quote ---
--- Quote from: MrPhil on April 27, 2012, 12:10:13 PM ---
--- Quote ---Is there any other problem with the cache?
--- End quote ---
I don't know of specific problems, except that I see a lot of "file not found" reports in the support board. Emptying out the cache seems to do the trick, but SMF still needs fixing.
--- End quote ---
Clean SMF without mods?
What cache level?
A list of topics could help in finding a pattern and reduce the possibilities.
--- End quote ---
Anyone interested in pursuing this could search for "cache" without "browser" and find all the reports. They could then contact the member with the original problem and ask for further details.
MrPhil:
'Nuther one. A simple fix, but perhaps more of an enhancement:
* If SMF can't connect to the database, it sends out an email. The wording of this email is confusing to noobs and they post here, asking why SMF (this forum) is trying to connect to their database. The forum title may not be available, but perhaps $mbname or $boardurl from Settings.php could be used in the message to clarify what SMF is trying to connect?
K@:
Even easier, just have it say "Your forum cannot communicate with your database."
emanuele:
--- Quote from: MrPhil on April 27, 2012, 05:24:15 PM ---My proposal is to test once, during installation, to see what permissions are needed for various directory and file operations. Write out a permissions.php file with the defines and use that everywhere permissions are set. Why would more frequent testing be needed? A host system changing their PHP setup will be a very rare event. In such cases, if the user has problems, they can either manually edit the permissions.php file, or run some utility to rebuild it.
--- End quote ---
First because SMF already does a lot of checks, secondly because a host changing its PHP setup is rare, but a user changing hist host is not so rare. :P
--- Quote from: MrPhil on April 27, 2012, 05:24:15 PM ---Anyone interested in pursuing this could search for "cache" without "browser" and find all the reports. They could then contact the member with the original problem and ask for further details.
--- End quote ---
http://www.simplemachines.org/community/index.php?action=search2;search=cache+-browser
50 pages...sorry too much for me. I give up.
--- Quote from: MrPhil on April 28, 2012, 12:06:36 PM ---'Nuther one. A simple fix, but perhaps more of an enhancement:
* If SMF can't connect to the database, it sends out an email. The wording of this email is confusing to noobs and they post here, asking why SMF (this forum) is trying to connect to their database. The forum title may not be available, but perhaps $mbname or $boardurl from Settings.php could be used in the message to clarify what SMF is trying to connect?
--- End quote ---
--- Code: ---$mbname . ': SMF Database Error!', 'There has been a problem with the database!' . ($db_error == '' ? '' : "\n" . $smcFunc['db_title'] . ' reported:' . "\n" . $db_error) . "\n\n" . 'This is a notice email to let you know that SMF could not connect to the database, contact your host if this continues.');
--- End code ---
$mbname is actually the first thing on the email.
How could it be more clear?
A link to the forum?
Where? At the end?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version