Login error when "login" is removed Login error when "login" is removed
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Login error when "login" is removed

Started by markvicious, May 30, 2007, 12:39:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

markvicious

I tried the plugins, they didn't work.

Removing the login at the top worked when I used the "//" in the code.  Although it worked, when I did want to login, I had an error.  I went to the login.php page to login but after you try to login, it goes to a blank page with the code saying there is an error in the code.

Is there a different way to remove the "login" at the top so I won't have this problem?

Joachim Müller

Quote from: markvicious on May 30, 2007, 12:39:03 AMI tried the plugins
Which one?

Quote from: markvicious on May 30, 2007, 12:39:03 AMthey didn't work.
What does "didn't work" mean? Any error message?

Quote from: markvicious on May 30, 2007, 12:39:03 AMRemoving the login at the top worked when I used the "//" in the code.
Where?

Post more details!

markvicious

I have it here:

//addbutton($sys_menu_buttons,'{LOGIN_LNK}','{LOGIN_TITLE}','{LOGIN_TGT}','login','');

I forget which plugins I tried to use, but I don't think it was the actually plugins that didn't work.  I just couldn't figure out how to add them and use them from the threads.

markvicious

This doesn't happen on firefox, only IE... help please?

Tranz

There still isn't enough details. Please post a link to your gallery.

markvicious

i can use the "//" to get rid of the login and when I go to "login.php" the login page shows up but when it actually signs me in it just brings me to a page that says:

QuoteTemplate error
Failed to find block 'login'(#(<!-- BEGIN login -->)(.*?)(<!-- END login -->)#s) in :

            <!-- BEGIN my_gallery -->
        <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a> ::
  <!-- END my_gallery -->  <!-- BEGIN allow_memberlist -->
        <a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK}</a> ::
  <!-- END allow_memberlist -->  <!-- BEGIN my_profile -->
        <a href="{MY_PROF_TGT}" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a> ::
  <!-- END my_profile -->  <!-- BEGIN enter_admin_mode -->
        <a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}">{ADM_MODE_LNK}</a> ::
  <!-- END enter_admin_mode -->  <!-- BEGIN leave_admin_mode -->
        <a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a> ::
  <!-- END leave_admin_mode -->  <!-- BEGIN upload_pic -->
        <a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK}</a> ::
  <!-- END upload_pic -->  <!-- BEGIN register -->
        <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK}</a> ::
  <!-- END register -->  <!-- BEGIN faq -->
        <a href="{FAQ_TGT}" title="{FAQ_TITLE}">{FAQ_LNK}</a> ::
  <!-- END faq -->  <!-- BEGIN logout -->
        <a href="{LOGOUT_TGT}" title="{LOGOUT_TITLE}">{LOGOUT_LNK}</a>
  <!-- END logout -->

Never mind my previous message, this error shows for both Firefox and IE.


Joachim Müller

Unable to replicate. When does the error message show? After attempting to log in? If yes, post a non-admin test user account as well.