[solved] Core News Module Links not working
[solved] Core News Module Links not working
I have looked around the forum and searched on google for a solution to this problem but haven't found anything that fits what I think i have If after reading this you know that it is available somewhere please point me in the right direction.
version CMS MS 1.2.5
PHP5
MySQL 5.0.26
Apache
on OpenSuse 10.x
install worked wonderfully, built some pages created some users everything doing well.
the default news module MORE link brings up a 404 page not found error
added some News.. that doesn't work either, the summary shows up under the news header but when you take the MORE or the title link I get a 404 page not found error.
I looked in mysql and the table exists an there is data in the table in both the summary firld and the data field just like i typed it in
what has gone wrong.
Thanks for any ideas. I have created some pages as I said and don't really want to have to do a reinstall if I can help it. I am not a MySql admin and don't know how to back up that data and restore it later. That is something I know I need to learn and plan to learn but I really would rather not fight that prolbem right now if I can just find what might be a simple issue
thanks very much
mrcoke
version CMS MS 1.2.5
PHP5
MySQL 5.0.26
Apache
on OpenSuse 10.x
install worked wonderfully, built some pages created some users everything doing well.
the default news module MORE link brings up a 404 page not found error
added some News.. that doesn't work either, the summary shows up under the news header but when you take the MORE or the title link I get a 404 page not found error.
I looked in mysql and the table exists an there is data in the table in both the summary firld and the data field just like i typed it in
what has gone wrong.
Thanks for any ideas. I have created some pages as I said and don't really want to have to do a reinstall if I can help it. I am not a MySql admin and don't know how to back up that data and restore it later. That is something I know I need to learn and plan to learn but I really would rather not fight that prolbem right now if I can just find what might be a simple issue
thanks very much
mrcoke
Last edited by mrcoke on Sat Aug 23, 2008 2:37 pm, edited 1 time in total.
Re: Core News Module Links not working
MrCooke,
I dont recall such a problem on the 1.2-series, but it might be worthwile to upgrade to latest 1.4.1, to make sure that you are running against latest version, including all bugfixes since 1.2.
Ronny
I dont recall such a problem on the 1.2-series, but it might be worthwile to upgrade to latest 1.4.1, to make sure that you are running against latest version, including all bugfixes since 1.2.
Ronny
Re: Core News Module Links not working
Have you changed anything in config.php or use .htaccess?...
Re: Core News Module Links not working
I changed the upload limit in both the config and php.ini but unless i typed a spurious character I don't think I messed anything up I will re-look at that and see what gives..
I will also consider upgrading
I will also consider upgrading
Re: Core News Module Links not working
BTW, sorry if I posted in the wrong place.. it seemed that since this was the core news module that it should have gone in the product support area. I didn't know that all modules went in modules add ons..
again.. sorry about that
again.. sorry about that
Re: Core News Module Links not working
I upgraded to 1.4.1 everything else still works but the more links still do not work
I also don't see anything in the config.php that looks weird but I probably wouldn't know if I did mess it up
I also don't see anything in the config.php that looks weird but I probably wouldn't know if I did mess it up
Re: Core News Module Links not working
Do you have mod_rewrite or pretty URLs of any kind, do you have a link or a copy of what it say?...
Re: Core News Module Links not working
my config.php follows with admin stuff edited
?php
#CMS Made Simple Configuration File
#Please clear the cache (Site Admin->Global Settings in the admin panel)
#after making any changes to path or url related options
#-----------------
#Database Settings
#-----------------
#This is your database connection information. Name of the server,
#username, password and a database with proper permissions should
#all be setup before CMS Made Simple is installed.
removed
#If app needs to coexist with other tables in the same db,
#put a prefix here. e.g. "cms_"
$config['db_prefix'] = 'cms_';
#Use persistent connections? They're generally faster, but not all hosts
#allow them.
$config['persistent_db_conn'] = false;
#Use ADODB Lite? This should be true in almost all cases. Note, slight
#tweaks might have to be made to date handling in a "regular" adodb
#install before it can be used.
$config['use_adodb_lite'] = true;
#-------------
#Path Settings
#-------------
#Document root as seen from the webserver. No slash at the end
#If page is requested with https use https as root url
#e.g. http://blah.com
$config['root_url'] = 'http://test4.wsc.k12.ar.us/cms';
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on')
{
$config['root_url'] = str_replace('http','https',$config['root_url']);
}
#Path to document root. This should be the directory this file is in.
#e.g. /var/www/localhost
$config['root_path'] = '/srv/www/htdocs/cms';
#Name of the admin directory
$config['admin_dir'] = 'admin';
#Where do previews get stored temporarily? It defaults to tmp/cache.
$config['previews_path'] = '/srv/www/htdocs/coopcms/tmp/cache';
#Where are uploaded files put? This defaults to uploads.
$config['uploads_path'] = '/srv/www/htdocs/coopcms/uploads';
#Where is the url to this uploads directory?
$config['uploads_url'] = $config['root_url'] . '/uploads';
#---------------
#Upload Settings
#---------------
#Maxium upload size (in bytes)?
$config['max_upload_size'] = 10000000;
#Permissions for uploaded files. This only really needs changing if your
#host has a weird permissions scheme.
$config['default_upload_permission'] = '664';
#------------------
#Usability Settings
#------------------
#Allow smarty {php} tags? These could be dangerous if you don't trust your users.
$config['use_smarty_php_tags'] = false;
#CMSMS Debug Mode? Turn it on to get a better error when you
#see {nocache} errors.
$config['debug'] = false;
#Automatically assign alias based on page title?
$config['auto_alias_content'] = true;
#------------
#URL Settings
#------------
#Show mod_rewrite URLs in the menu? You must enable 'use_hierarchy' for this to work for modules
$config['assume_mod_rewrite'] = false;
#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '';
#If you don't use mod_rewrite, then would you like to use the built-in
#pretty url mechanism? This will not work with IIS and the {metadata} tag
#should be in all of your templates before enabling.
$config['internal_pretty_urls'] = false;
#If you're using the internal pretty url mechanism or mod_rewrite, would you like to
#show urls in their hierarchy? (ex. http://www.mysite.com/parent/parent/childpage)
$config['use_hierarchy'] = false;
#If using none of the above options, what should we be using for the query string
#variable? (ex. http://www.mysite.com/index.php?page=somecontent)
$config['query_var'] = 'page';
#--------------
#Image Settings
#--------------
#Which program should be used for handling thumbnails in the image manager.
#See http://wiki.cmsmadesimple.org/index.php ... ge_Manager for more
#info on what this all means
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
#Default path and URL for uploaded images in the image manager
$config['image_uploads_path'] = '/srv/www/htdocs/coopcms/uploads/images';
$config['image_uploads_url'] = $config['root_url'] . '/uploads/images';
#------------------------
#Locale/Encoding Settings
#------------------------
#Locale to use for various default date handling functions, etc. Leaving
#this blank will use the server's default. This might not be good if the
#site is hosted in a different country than it's intended audience.
$config['locale'] = '';
#In almost all cases, default_encoding should be empty (which defaults to utf-8)
#and admin_encoding should be utf-8. If you'd like this to be different, change
#both. Keep in mind, however, that the admin interface translations are all in
#utf-8, and will be converted on the fly to match the admin_encoding. This
#could seriously slow down the admin interfaces for users.
$config['default_encoding'] = '';
$config['admin_encoding'] = 'utf-8';
#---------------------------------------------
#Use the old stylesheet logic? It's much slower, but it works with older
#versions of CMSMS. You'll also need this set to true if there is a module
#that uses a stylesheet callback. Leave it as false instead you really
#need it.
$config['old_stylesheet'] = false;
# URL of the Admin Panel section of the User Handbook
$config['wiki_url'] = 'http://wiki.cmsmadesimple.org/index.php ... dmin_Panel';
#Enable backwards compatibility mode? This basically will allow some
#modules written before 1.0 was released to work. Keep in mind that this
#will use a lot more memory and isn't guaranteed to fix the problem.
$config['backwards_compatible'] = false;
#Not used anymore... kept around, just in case
$config['disable_htmlarea_translation'] = false;
$config['use_Indite'] = true;
?>
?php
#CMS Made Simple Configuration File
#Please clear the cache (Site Admin->Global Settings in the admin panel)
#after making any changes to path or url related options
#-----------------
#Database Settings
#-----------------
#This is your database connection information. Name of the server,
#username, password and a database with proper permissions should
#all be setup before CMS Made Simple is installed.
removed
#If app needs to coexist with other tables in the same db,
#put a prefix here. e.g. "cms_"
$config['db_prefix'] = 'cms_';
#Use persistent connections? They're generally faster, but not all hosts
#allow them.
$config['persistent_db_conn'] = false;
#Use ADODB Lite? This should be true in almost all cases. Note, slight
#tweaks might have to be made to date handling in a "regular" adodb
#install before it can be used.
$config['use_adodb_lite'] = true;
#-------------
#Path Settings
#-------------
#Document root as seen from the webserver. No slash at the end
#If page is requested with https use https as root url
#e.g. http://blah.com
$config['root_url'] = 'http://test4.wsc.k12.ar.us/cms';
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on')
{
$config['root_url'] = str_replace('http','https',$config['root_url']);
}
#Path to document root. This should be the directory this file is in.
#e.g. /var/www/localhost
$config['root_path'] = '/srv/www/htdocs/cms';
#Name of the admin directory
$config['admin_dir'] = 'admin';
#Where do previews get stored temporarily? It defaults to tmp/cache.
$config['previews_path'] = '/srv/www/htdocs/coopcms/tmp/cache';
#Where are uploaded files put? This defaults to uploads.
$config['uploads_path'] = '/srv/www/htdocs/coopcms/uploads';
#Where is the url to this uploads directory?
$config['uploads_url'] = $config['root_url'] . '/uploads';
#---------------
#Upload Settings
#---------------
#Maxium upload size (in bytes)?
$config['max_upload_size'] = 10000000;
#Permissions for uploaded files. This only really needs changing if your
#host has a weird permissions scheme.
$config['default_upload_permission'] = '664';
#------------------
#Usability Settings
#------------------
#Allow smarty {php} tags? These could be dangerous if you don't trust your users.
$config['use_smarty_php_tags'] = false;
#CMSMS Debug Mode? Turn it on to get a better error when you
#see {nocache} errors.
$config['debug'] = false;
#Automatically assign alias based on page title?
$config['auto_alias_content'] = true;
#------------
#URL Settings
#------------
#Show mod_rewrite URLs in the menu? You must enable 'use_hierarchy' for this to work for modules
$config['assume_mod_rewrite'] = false;
#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '';
#If you don't use mod_rewrite, then would you like to use the built-in
#pretty url mechanism? This will not work with IIS and the {metadata} tag
#should be in all of your templates before enabling.
$config['internal_pretty_urls'] = false;
#If you're using the internal pretty url mechanism or mod_rewrite, would you like to
#show urls in their hierarchy? (ex. http://www.mysite.com/parent/parent/childpage)
$config['use_hierarchy'] = false;
#If using none of the above options, what should we be using for the query string
#variable? (ex. http://www.mysite.com/index.php?page=somecontent)
$config['query_var'] = 'page';
#--------------
#Image Settings
#--------------
#Which program should be used for handling thumbnails in the image manager.
#See http://wiki.cmsmadesimple.org/index.php ... ge_Manager for more
#info on what this all means
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
#Default path and URL for uploaded images in the image manager
$config['image_uploads_path'] = '/srv/www/htdocs/coopcms/uploads/images';
$config['image_uploads_url'] = $config['root_url'] . '/uploads/images';
#------------------------
#Locale/Encoding Settings
#------------------------
#Locale to use for various default date handling functions, etc. Leaving
#this blank will use the server's default. This might not be good if the
#site is hosted in a different country than it's intended audience.
$config['locale'] = '';
#In almost all cases, default_encoding should be empty (which defaults to utf-8)
#and admin_encoding should be utf-8. If you'd like this to be different, change
#both. Keep in mind, however, that the admin interface translations are all in
#utf-8, and will be converted on the fly to match the admin_encoding. This
#could seriously slow down the admin interfaces for users.
$config['default_encoding'] = '';
$config['admin_encoding'] = 'utf-8';
#---------------------------------------------
#Use the old stylesheet logic? It's much slower, but it works with older
#versions of CMSMS. You'll also need this set to true if there is a module
#that uses a stylesheet callback. Leave it as false instead you really
#need it.
$config['old_stylesheet'] = false;
# URL of the Admin Panel section of the User Handbook
$config['wiki_url'] = 'http://wiki.cmsmadesimple.org/index.php ... dmin_Panel';
#Enable backwards compatibility mode? This basically will allow some
#modules written before 1.0 was released to work. Keep in mind that this
#will use a lot more memory and isn't guaranteed to fix the problem.
$config['backwards_compatible'] = false;
#Not used anymore... kept around, just in case
$config['disable_htmlarea_translation'] = false;
$config['use_Indite'] = true;
?>
Re: Core News Module Links not working
Well I hope that is not yours, I see links/paths that have coopcms and others w/o...
#Document root as seen from the webserver. No slash at the end
#If page is requested with https use https as root url
#e.g. http://blah.com
$config['root_url'] = 'http://test4.wsc.k12.ar.us/cms';
#Where are uploaded files put? This defaults to uploads.
$config['uploads_path'] = '/srv/www/htdocs/coopcms/uploads';
#Where is the url to this uploads directory?
$config['uploads_url'] = $config['root_url'] . '/uploads';
#Document root as seen from the webserver. No slash at the end
#If page is requested with https use https as root url
#e.g. http://blah.com
$config['root_url'] = 'http://test4.wsc.k12.ar.us/cms';
#Where are uploaded files put? This defaults to uploads.
$config['uploads_path'] = '/srv/www/htdocs/coopcms/uploads';
#Where is the url to this uploads directory?
$config['uploads_url'] = $config['root_url'] . '/uploads';
Re: Core News Module Links not working
LOL ... well.. i was trying to hide the site.. don't ask me why, but i did a crappy job huhn.. LOL
they all say coopcms. sorry... especially since i left the http://test4...... stuff there anyway
I didn't know how much I should really put out there on a web forum.
I just did a fresh install of the 1.2.5 version on a test box and the link for the "MORE" works fine..
I MUST have fouiled something up somewhere.
is there a safe way to re-install completely without deleting any data that is in mysql? if i am not going to lose the little work i have done I have no problem with a fresh install as a correction.
thanks
they all say coopcms. sorry... especially since i left the http://test4...... stuff there anyway
I didn't know how much I should really put out there on a web forum.
I just did a fresh install of the 1.2.5 version on a test box and the link for the "MORE" works fine..
I MUST have fouiled something up somewhere.
is there a safe way to re-install completely without deleting any data that is in mysql? if i am not going to lose the little work i have done I have no problem with a fresh install as a correction.
thanks
Re: Core News Module Links not working
Best way to reinstall w/o removing previous work...
Throw install in from package you used in first install, run /install, input all the same info till you get to DB info, add the DB info but at the bottom you see, one check box in older ver. cmsms, 2 check boxes Create tables and include default stuff, DO NOT CHECK THESE, UNCHECK THEM, don't create tables or install default stuff, continue on from there as usual...
This is also good to do when moving a site to new server, especially if you don't know the paths it will make...
Throw install in from package you used in first install, run /install, input all the same info till you get to DB info, add the DB info but at the bottom you see, one check box in older ver. cmsms, 2 check boxes Create tables and include default stuff, DO NOT CHECK THESE, UNCHECK THEM, don't create tables or install default stuff, continue on from there as usual...
This is also good to do when moving a site to new server, especially if you don't know the paths it will make...
Re: Core News Module Links not working
Thank you Mark. I will try that tomorrow when I get to work and hope that corrects the problem. I will post back here and let you know.
I guess I did mess something up somewhere I just cant figure out what it was. I tried very carefully to edit the config, templates, etc to only touch the stuff I needed to change after reading about how to do it.
Thanks again
Bob Cochenour
I guess I did mess something up somewhere I just cant figure out what it was. I tried very carefully to edit the config, templates, etc to only touch the stuff I needed to change after reading about how to do it.
Thanks again
Bob Cochenour
Re: Core News Module Links not working
no joy, after the install the site data is still there by doing what you said and not adding the tables or the sample stuff. but click on the news module title link still brings up 404 page not found.
I think I may just have to start all over again. as little as is on the site anyway, i could possilby spend more time trying to figure this out than just recreating the site.
I think I may just have to start all over again. as little as is on the site anyway, i could possilby spend more time trying to figure this out than just recreating the site.
-
alby
Re: Core News Module Links not working
Can you provide a example of this link?mrcoke wrote: no joy, after the install the site data is still there by doing what you said and not adding the tables or the sample stuff. but click on the news module title link still brings up 404 page not found.
Alby
Re: Core News Module Links not working
here is a jpg of the section of NEWS with the title link circled. if the MORE link was there it wouldn't work either



