YosemiteSam Posted July 17, 2004 Posted July 17, 2004 On the ADMIN screen / Configurations / My Store / Initial Text is limited to 255 characters... It says to proceed to "Edit Texts" and modify the "english.php" file... I've easily found the file, but it doesn't contain any code with "255" or similar... Any hints on how to change the maximum number of characters of the Initial Text on the default.php page??? Thanks,
Acheron Posted July 17, 2004 Posted July 17, 2004 Was about to ask which version of osC you were using until I noticed you said 'default.php.' It is recommended that you switch to MS2 or the most recent CVS version as opposed to the version you are using, as it is greatly outdated. To answer your question ... if there is in fact a 255 character limit, that is a limit within SQL. You would need to change the type for that field to something like longtext.
241 Posted July 17, 2004 Posted July 17, 2004 You would need to change the table field type for that area in the database from varchar(255) to text this can be done using phpMyAdmin No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Acheron Posted July 17, 2004 Posted July 17, 2004 You would need to change the table field type for that area in the database from varchar(255) to text this can be done using phpMyAdmin Didn't I already cover that? ;) text has a limit of about 65K characters, longtext allows for much, much more. True it's not likely he would need anywhere near that, but nonetheless, he could use longtext as well, or even mediumtext for that matter as a compromise between the 2. :)
241 Posted July 18, 2004 Posted July 18, 2004 You would need to change the table field type for that area in the database from varchar(255) to text this can be done using phpMyAdmin Didn't I already cover that? ;) text has a limit of about 65K characters, longtext allows for much, much more. True it's not likely he would need anywhere near that, but nonetheless, he could use longtext as well, or even mediumtext for that matter as a compromise between the 2. :) No you did not cover the fact that this can be altered using a sql query in phpMyAdmin ;) and that if you use text then there is not a limit to the number of characters used No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
YosemiteSam Posted July 18, 2004 Author Posted July 18, 2004 Thanks for the replies... Said and Done! As for the version, I am using a Portuguese translation version (Brazilian Portuguese) and am wary to change versions with a live store. Figured to wait until my PhP learning curve isn't so steep (like straight up....) Someday I'll update to the latest and greatest.... Thanks again!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.