after login I can't do anything

General questions about CMSimple
cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: after login I can't do anything

Post by cmb » Mon Oct 20, 2014 5:43 pm

roze wrote:I now get:

Code: Select all

Parse error: syntax error, unexpected 'error' (T_STRING), expecting ']' in /home/praktijkdommelen.nl/public_html/femkezeijen/cmsimple/languages/en.php on line 46
Apparently, your English language file is corrupt. Please have a look at it (cmsimple/languages/en.php); line 45ff should be:

Code: Select all

$tx['editmenu']['template']="Template";
$tx['editmenu']['userfiles']="Userfiles";
$tx['editmenu']['validate']="Validate links";
Christoph M. Becker – Plugins for CMSimple_XH

roze
Posts: 270
Joined: Tue Jun 03, 2008 7:13 am
Location: NL
Contact:

Re: after login I can't do anything

Post by roze » Mon Oct 20, 2014 6:04 pm

this is what it says:

Code: Select all

$tx['editmenu']['backups']="Backups";
$tx['editmenu']['configuration']="CMS";
$tx['editmenu']['downloads']="Downloads";
$tx['editmenu']['edit']="Edit mode";
$tx['editmenu']['files']="Files";
$tx['editmenu']['help']="Help";
$tx['editmenu']['images']="Images";
$tx['editmenu']['language']="Language";
$tx['editmenu']['log']="Log file";
$tx['editmenu']['logout']="Logout";
$tx['editmenu']['media']="Media";
$tx['editmenu']['normal']="View mode";
$tx['editmenu']['pagedata']="Page Data";
$tx['editmenu']['pagemanager']="Pages";
$tx['editmenu']['plugins']="Plugins";
$tx['editmenu']['settings']="Settings";
$tx['editmenu']['stylesheet']="Stylesheet";
$tx['editmenu']['sysinfo']="Info";
$tx['editmenu']['tempwrite to";
$tx['error']['fatal']="A fatal error occurred. Enable <a href=\"http://www.cmsimple-xh.org/wiki/doku.php/troubleshooting#debug_mode\" target=\"_blank\">debug mode</a> for further information.";
$tx['error']['noeditor']="External editor \"%s\" missing!";
$tx['error']['nofilebrowser']="External filebrowser \"%s\" missing!";
$tx['error']['nopagemanager']="External pagemanager \"%s\" missing!";
$tx['error']['headers']="Cannot modify header information - headers already sent (output started at {locatilate']="Template";
$tx['editmenu']['userfiles']="Userfiles";
$tx['editmenu']['validate']="Validate links";
$tx['editmenu']['template']="Template";
the last line -53- with
$tx['editmenu']['template']="Template"

was missing (?) I put it myself on line 53 (was that correct?)

I still get the error message
Rob Zeijen,

Valkenswaard (NL)

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: after login I can't do anything

Post by cmb » Mon Oct 20, 2014 6:19 pm

Have a look at the following lines:

Code: Select all

$tx['editmenu']['tempwrite to";
$tx['error']['fatal']="A fatal error occurred. Enable <a href=\"http://www.cmsimple-xh.org/wiki/doku.php/troubleshooting#debug_mode\" target=\"_blank\">debug mode</a> for further information.";
The first line is broken, and there are missing several lines before the second line. Normally it should be:

Code: Select all

$tx['editmenu']['template']="Template";
$tx['editmenu']['userfiles']="Userfiles";
$tx['editmenu']['validate']="Validate links";

$tx['error']['401']="Error 401: Unauthorized";
$tx['error']['403']="Error 403: Forbidden";
$tx['error']['404']="Error 404: Not found";
$tx['error']['alreadyexists']="Already exists";
$tx['error']['cntdelete']="Could not delete";
$tx['error']['cntlocateheading']="No page selected";
$tx['error']['cntopen']="Could not open";
$tx['error']['cntsave']="Could not save";
$tx['error']['cntwriteto']="Could not write to";
$tx['error']['fatal']="A fatal error occurred. Enable <a href=\"http://www.cmsimple-xh.org/wiki/doku.php/troubleshooting#debug_mode\" target=\"_blank\">debug mode</a> for further information.";
I don't know how that happened, but I suggest you check the original cmsimple/languages/en.php in the downloaded ZIP, and upload it again.
Christoph M. Becker – Plugins for CMSimple_XH

roze
Posts: 270
Joined: Tue Jun 03, 2008 7:13 am
Location: NL
Contact:

Re: after login I can't do anything

Post by roze » Mon Oct 20, 2014 6:45 pm

christoph,

I copied the content of the <en language> from the zipfile in <cmsimple/languages/en.php> and it worked!

Thankx
Rob Zeijen,

Valkenswaard (NL)

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: after login I can't do anything

Post by cmb » Mon Oct 20, 2014 7:02 pm

roze wrote:I copied the content of the <en language> from the zipfile in <cmsimple/languages/en.php> and it worked!
Fine. :)
Christoph M. Becker – Plugins for CMSimple_XH

roze
Posts: 270
Joined: Tue Jun 03, 2008 7:13 am
Location: NL
Contact:

Re: after login I can't do anything

Post by roze » Mon Oct 20, 2014 9:23 pm

And now, When I login with the original password for installation, and go to the settings of CMS. I see the button <change password>, but there's happening nothing while clicking on it??

What do i do wrong?
Rob Zeijen,

Valkenswaard (NL)

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: after login I can't do anything

Post by cmb » Mon Oct 20, 2014 9:32 pm

roze wrote:And now, When I login with the original password for installation, and go to the settings of CMS. I see the button <change password>, but there's happening nothing while clicking on it??
The file core/js/admin.php is totally corrupt. You have to upload it again. Furthermore plugins/tinymce/tiny_mce/langs/en.js seems to be broken, too.

Something doesn't seem to be right with your FTP transfer. You may consider to try another FTP client.
Christoph M. Becker – Plugins for CMSimple_XH

roze
Posts: 270
Joined: Tue Jun 03, 2008 7:13 am
Location: NL
Contact:

Re: after login I can't do anything

Post by roze » Tue Oct 21, 2014 8:46 pm

OK

I've used another FTP Filezilla.
Everything workshop fine!

Thanks for helping!
Rob Zeijen,

Valkenswaard (NL)

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: after login I can't do anything

Post by cmb » Tue Oct 21, 2014 9:06 pm

roze wrote:I've used another FTP Filezilla.
Everything workshop fine!
Great! :)

May I ask you to fix the powered by link at the bottom of the template:

Code: Select all

Powered by <a href="http://www.cmsimple-xh.org/" target="_blank">CMSimple_XH</a>
Or simply remove it. As it is now, the information is not correct.
Christoph M. Becker – Plugins for CMSimple_XH

roze
Posts: 270
Joined: Tue Jun 03, 2008 7:13 am
Location: NL
Contact:

Re: after login I can't do anything

Post by roze » Tue Oct 21, 2014 9:52 pm

May I ask you to fix the powered by link at the bottom of the template:
Done
Rob Zeijen,

Valkenswaard (NL)

Post Reply