1
Cozzie
Re: Changed domain but meta data showing old domain
  • 2011/3/5 15:42

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Thanks a lot guys!

I've got the site's theme displaying by going in to xoops_data and clearing the files (I'd forgotten caches are now stored in trust path rather than cache and templates_cache folders.

BUT I still can't access any admin pages. When I check the html source I can see that the <head> code is not fully downloaded (see below) and so I'm just getting empty pages for all admin pages. The weird thing is that when I use debug mode it shows no errors.

Can you tell me where in protector I need to be looking?

Thanks!!!

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /><script src="http://1.2.3.4/bmi-int-js/bmi.js" language="javascript"></script><meta http-equiv="content-language" content="en" /><title>My Site Administration</title> <meta name="author" content="XOOPS" /><meta name="copyright" content="XOOPS &copy; 2001-2011" /><meta name="generator" content="XOOPS" /><link rel="shortcut icon" type="image/ico" href="http://site.org/favicon.ico" /><script type="text/javascript" src="http://site.org/include/xoops.js"></script> <script type="text/javascript">function xoopsVariableDefined(variable) {             try { var isDefined = (eval(variable) != "undefined") }             catch(e) { var isDefined false }             return isDefined;         }          function xoopsToggleDisplay(id) {             if (!xoopsVariableDefined("xoopsToggleLabel")) {                 var toggle_innerHTML = new Array("&raquo;""&laquo;");             } else {                 var toggle_innerHTML xoopsToggleLabel;             }             var elestyle xoopsGetElementById(id).style;             var label xoopsGetElementById(id+"-label");             if (elestyle.display == "none") {                 elestyle.display "block";                 label.innerHTML toggle_innerHTML[1];             } else {                 elestyle.display "none";                 label.innerHTML toggle_innerHTML[0];             }         }         </script> <link rel="stylesheet" type="text/css" media="all" href="http://site.org/xoops.css" /><link rel="stylesheet" type="text/css" media="all" href="http://site.org/modules/system/class/gui/default/css/style.css" /><link rel="stylesheet" type="text/css" media="all" href="http://site.org/modules/system/class/gui/default/css/en.css" /><link rel="stylesheet" type="text/css" media="all" href="http://site.org/language/english/style.css" /><div id="xo-logger-output"><div id='xo-logger-tabs'><a href='javascript:xoSetLoggerView("none")'>None</a> <a href='javascript:xoSetLoggerView("")'>All</a> <a href='javascript:xoSetLoggerView("errors")'>errors (2)</a> <a href='javascript:xoSetLoggerView("queries")'>queries (7)</a> <a href='javascript:xoSetLoggerView("blocks")'>blocks (0)</a> <a href='javascript:xoSetLoggerView("extra")'>extra (2)</a> <a href='javascript:xoSetLoggerView("timers")'>timers (3)</a></div><table id="xo-logger-errors" class="outer"><tr><th>Errors</th></tr><tr><td class='even'>NoticeUndefined variablequery_string in file /modules/xlanguage/include/functions.php line 244<br /></td></tr><tr><td class='odd'>NoticeUndefined variablequery_string in file /modules/xlanguage/include/functions.php line 244<br /></td></tr></table><table id="xo-logger-queries" class="outer"><tr><th>Queries</th></tr><tr class="even"><td>SELECT FROM config WHERE (conf_modid '0' AND conf_catid '1'ORDER BY conf_order ASC</td></tr><tr class="odd"><td>SELECT sess_datasess_ip FROM session WHERE sess_id '40ec53938ad2bf2e01a237b287326e3b'</td></tr><tr class="even"><td>SELECT FROM users WHERE uid '1'</td></tr><tr class="odd"><td>SELECT FROM group_permission WHERE (gperm_name 'module_admin' AND gperm_modid '1' AND (gperm_groupid '1' OR gperm_groupid '2'))</td></tr><tr class="even"><td>SELECT FROM modules WHERE (hasadmin '1' AND isactive '1'ORDER BY weight ASCmid ASC</td></tr><tr class="odd"><td>SELECT FROM groups</td></tr><tr class="even"><td>SELECT FROM groups</td></tr><tr class="foot"><td>Total: <span style="color:#ff0000;">7</spanqueries</td></tr></table><table id="xo-logger-blocks" class="outer"><tr><th colspan="2">Blocks</th></tr><tr class="foot"><td>Total: <span style="color:#ff0000;">0</spanblocks</td></tr></table><table id="xo-logger-extra" class="outer"><tr><th colspan="2">Extra</th></tr><tr><td class="even"><strong>Included files:</strong77 files</td></tr><tr><td class="odd"><strong>Memory usage:</strong5924704 bytes</td></tr></table><table id="xo-logger-timers" class="outer"><tr><th colspan="2">Timers</th></tr><tr><td class="even"><strong>XOOPS</strongtook <span style="color:#ff0000;">0.073</spanseconds to load.</td></tr><tr><td class="odd"><strong>XOOPS Boot</strongtook <span style="color:#ff0000;">0.032</spanseconds to load.</td></tr><tr><td class="even"><strong>Module init</strongtook <span style="color:#ff0000;">0.041</spanseconds to load.</td></tr></table></div><script type="text/javascript">function xoLogCreateCookie(name,value,days) {         if (days) {             var date = new Date();             date.setTime(date.getTime()+(days*24*60*60*1000));             var expires "; expires="+date.toGMTString();         }         else var expires "";         document.cookie name+"="+value+expires+"; path=/";     }     function xoLogReadCookie(name) {         var nameEQ name "=";         var ca document.cookie.split(';');         for(var i=0;ca.length;i++) {             var ca[i];             while (c.charAt(0)==' 'c.substring(1,c.length);             if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);         }         return null;     }     function xoLogEraseCookie(name) {         createCookie(name,"",-1);     }     function xoSetLoggerViewname ) {         var log document.getElementById"xo-logger-output" );         if ( !log ) return;         var ielt;         for ( i=0i!=log.childNodes.lengthi++ ) {             elt log.childNodes[i];             if ( elt.tagName && elt.tagName.toLowerCase() != 'script' && elt.id != "xo-logger-tabs" ) {                 elt.style.display = ( !name || elt.id == "xo-logger-" name ) ? "block" "none";             }         }         xoLogCreateCookie'XOLOGGERVIEW'name);     }     xoSetLoggerViewxoLogReadCookie'XOLOGGERVIEW' ) );  </script> <script language="javascript"><!-- bmi_SafeAddOnload(bmi_load,"bmi_orig_img",0);//--> </script>



2
Cozzie
Re: Changed domain but meta data showing old domain
  • 2011/3/2 16:34

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Hi guys, can anyone help? its driving me mad, I can't figure out why the data in <head> is still showing my old URL, if its not controlled by the mainfile.php does anyone know where it is?

Thanks



3
Cozzie
Changed domain but meta data showing old domain
  • 2011/2/28 10:22

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Hi guys

I've had to change my domain name (hosting still the same), so I've updated mainfile.php and cleared the caches, all is ok except my meta data is still linking to the old domain. I've tried everything but can't change the meta links - can anyone help? Its driving me mad because it means the theme is not displaying.

Also when I go to admin area I just get a blank page but I'm guessing this is related to the meta problem



4
Cozzie
Re: redirecting existing users to complete their profiles
  • 2009/10/2 9:31

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Hi deka

That sounds like a good way of doing it, if the other way is not really possible, do you know how exactly to implement it?

Cheers



5
Cozzie
redirecting existing users to complete their profiles
  • 2009/10/1 2:19

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Hi there

Having just upgraded to 2.3.3 I'm loving the profile modules and I'm using it to have new members fill-in lots profile fields when they register (city, job, school, age etc.).

But the thing is I've got loads of old members for whom all these fields are blank and they are unlikely to complete them unless required to.

So I want to redirect users who have not completed these fields to the edituser.php page when they login.

Can anyone think of a way to do this? Is it possible to check at login if the user has completed the fields (or perhaps just check one specific field) and if not redirect them to edituser.php?

It would be great for the site if I can get as many users as possible to complete their profile information

thanks guys!



6
Cozzie
Re: How to extend reigstration profile fields?
  • 2009/9/30 8:41

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


thanks for all the help



7
Cozzie
Re: How to extend reigstration profile fields?
  • 2009/9/29 1:23

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Got it! thanks a lot

Do you know if there is a way I can add the 'upload an avatar' field to the registration process?

I want to encourage users to upload their own avatar and think the registration stage is the best place.

thanks again!



8
Cozzie
Re: How to extend reigstration profile fields?
  • 2009/9/28 8:53

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Hi Mazarin

Sorry, I can't find the place you are talking about in the admin of 2.3.3 where I can select the fields, can you guide me further?




9
Cozzie
Re: Upgrade to 2.3.3 admin pages are blank
  • 2009/9/28 1:53

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Brilliant, thanks a lot that did it (I changed the trust path to xoops_lib in mainfile.php), thanks again!



10
Cozzie
Upgrade to 2.3.3 admin pages are blank
  • 2009/9/25 14:02

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Hi guys

I've just upgraded from 2.0.18 to 2.3.3, I followed the instructions to the letter (I think) and the upgrade went well, my website user-side works perfectly but when I try to enter the admin side I get blank, white pages. I can't do any debug as I can't get in to the admin area.

When I did the upgrade I skipped the XOOPS protector bit because, like it said, I had protector already installed on 2.0.18 and working well but could the problem lie there, did I do wrong?

Also, I've noticed no files are being added to my cache or templates_c folders since I cleared the folders after the upgrade (even though I have visited the website). Could this be related to my problem or is it the ay 2.3.3 works?

Thanks a lot if anyone can help me out, I'm stuck!

Cheers!




TopTop
(1) 2 3 4 ... 14 »



Login

Username:
Password:

Lost Password? Register now!

Who's Online

36 user(s) are online (10 user(s) are browsing Support Forums)


Members: 0


Guests: 36


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits