FrontEndUser - Change settings link not going anywhere

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
klshapiro
New Member
New Member
Posts: 4
Joined: Fri Jan 18, 2013 5:29 pm

FrontEndUser - Change settings link not going anywhere

Post by klshapiro »

Hello! I've got a question in regards to a CMSMS site that was at 1.7 and I've updated it to 1.12.1 thus far. I'm having an issue with the "change settings" link for a FrontEndUser. The logout link works but the change settings link just refreshes the page but doesn't do or go anywhere (or load the form).

Here are the current system info:
----------------------------------------------
Cms Version: 1.12.1

Installed Modules:
CMSMailer: 5.2.14
FileManager: 1.4.5
MenuManager: 1.8.7
ModuleManager: 1.5.8
News: 2.15.2
Printing: 1.1.2
Search: 1.7.13
ThemeManager: 1.1.8
TinyMCE: 2.8.4
Archiver: 0.2.3
FileBackup: 0.5
MysqlDump: 1.4.0
TemplateExternalizer: 2.1.6
Gallery: 2.1.2
FormBuilder: 0.8.1.3
FormBrowser: 0.3
Captcha: 0.4
CGExtensions: 1.52.2
FrontEndUsers: 1.31.1
TreeManager: 0.6.0
Forum: 0.9.4
Calendar: 0.8.2
CGUserDirectory: 1.5
CustomContent: 1.10
CMSPrinting: 1.0.5
MicroTiny: 1.2.9
CGSimpleSmarty: 1.9.1


Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 8000000
url_rewriting: none
page_extension: .htm
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:
phpversion: 5.6.17-0+deb8u1
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 2048
E_DEPRECATED: 8192
memory_limit: 128M
max_execution_time: 30
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 8M
session_save_path: No check because OS path
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.61
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found


----------------------------------------------

The logout form has the following code that displays the change settings link:

Code: Select all

{$startform}
  <h2>{$prompt_loggedin}&nbsp;{$username}</h2> 
  <p><a href="{$url_changesettings}" title="{$mod->Lang('info_changesettings')}">Update Member Profile</a></p>
<p><a href="{$url_logout}" title="{$mod->Lang('info_logout')}">{$mod->Lang('logout')}</a></p>
 {$endform}
The URL that it displays after clicking the "Update Member Profile" (change settings link) is:

/index.php?mact=FrontEndUsers,cntnt01,default,0&cntnt01form=changesettings&cntnt01returnto=&cntnt01returnlast=&cntnt01feu_prelogout_url=&cntnt01returnid=83

You won't be able to view this because you have to login to see it of course.

I've looked in the logs and get this:
[23-Mar-2016 11:34:19 America/Chicago] PHP Warning: Invalid argument supplied for foreach() in /path-to-file-was-here/modules/TinyMCE/TinyMCE.module.php on line 798
[23-Mar-2016 11:34:20 America/Chicago] PHP Fatal error: Call to a member function GetDb() on null in /path-to-file-was-here/modules/TinyMCE/stylesheet.php on line 38
[23-Mar-2016 11:43:21 America/Chicago] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /path-to-file-was-here/lib/classes/class.usertagoperations.inc.php(265) : eval()'d code on line 1
[23-Mar-2016 11:43:22 America/Chicago] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /path-to-file-was-here/lib/classes/class.usertagoperations.inc.php(265) : eval()'d code on line 1

There are no odd characters within the FrontEndUsers > Templates > Logout Form.

When I navigate to the Modules Manager it reads, "There are no newer modules available in the repository."

Cacheable is not checked for the main page that I "think" this pulls from.

I cleared the site cache.

ONE OTHER QUESTION:

I'd like to upgrade CMSMS to the current version but the following modules are not on the list to check. Should I stay put at 1.12.1?
CGUserDirectory
CMSMailier
FormBuilder

Thanks so much for any suggestions. Let me know if you need anything else.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: FrontEndUser - Change settings link not going anywhere

Post by velden »

No answer to your actual question, just a side note:
[23-Mar-2016 11:43:21 America/Chicago] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /path-to-file-was-here/lib/classes/class.usertagoperations.inc.php(265) : eval()'d code on line 1
[23-Mar-2016 11:43:22 America/Chicago] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /path-to-file-was-here/lib/classes/class.usertagoperations.inc.php(265) : eval()'d code on line 1
You probably have some UDTs (User Defined Tags) that setup database connections themselves. And those tags seem to use deprecated mysql functions.

Consider using the CMSMS database connection and functions.
klshapiro
New Member
New Member
Posts: 4
Joined: Fri Jan 18, 2013 5:29 pm

Re: FrontEndUser - Change settings link not going anywhere

Post by klshapiro »

Good to know and thanks for pointing it out. I'm inheriting this site and I did notice those db connections. I'll look into it.

Thank you!!
klshapiro
New Member
New Member
Posts: 4
Joined: Fri Jan 18, 2013 5:29 pm

Re: FrontEndUser - Change settings link not going anywhere

Post by klshapiro »

Just checking in here. I'm still having issues figuring out why the update settings link doesn't go anywhere.

Also, I'm thinking I will need to stay at CMSMS because of the above modules I'm using. On the link on CMSMS in regards to upgrading to 2.+ it states that there are certain modules that are available. Some of the ones I'm using are not on that list so I believe that means I should not update since those have not caught up yet.
Post Reply

Return to “The Lounge”