Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By jiropole on
Hi,
I'm new to Drupal and my first assignment is to upgrade a site built with v5.2. Upgrade went fine, no errors. But now I'm having a problem where I have to include "?q=node" in the url or else my front page content says "Page not found" and all the blocks seem empty. This is probably a simple problem but aside from checking that things are 'promoted to front page' I'm not sure where to look!
Thanks,
jesse
Comments
Make sure that the front
Make sure that the front page setting is set to "node".
- Corey
another thought
a place to start if the problem persists after some time has passed (cache?)...
try navigating to the clean urls admin page (administer >> site configuration >> clean urls) and check its status. if it is disabled, run the test, then enable if it passes. if it shows as enabled, try disabling it, then re-enabling it.
you may also have to determine how mod_rewrite (or an equivalent) was enabled for your installation, maybe?
perhaps time to move on
Thanks for the quick responses guys. I noticed there were only two content types registered (Page, Ad), which based on my little experience seemed odd. And they didn't correspond to those listed under the content items (Container... some others I can't remember). So then I looked at and re-saved one of the content types. After that, all the content items lost any 'type' except for page. And now when I try to edit any of the now un-types items I get the error:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'category_cont_node_form' was given in D:\WebDocs\drupal\convopeace\includes\form.inc on line 218.
So, I think my Drupal site is pretty much hosed. The guy who built it is long gone and parts of the install were possibly overwritten in the meantime. Maybe the thing to do is just rebuild from scratch. Being new to Drupal and trying to decipher a broken project is just too much for my small brain!
Jesse
Make sure that you have all
Make sure that you have all the latest modules, too, and that you run the database upgrade script.
- Corey
Which version did you
Which version did you upgrade from?
gpk
----
www.alexoria.co.uk
gpk
----
www.alexoria.co.uk
did clear cache
PS, I did clear the cache* tables and watchdog as I saw somewhere on the web, prior to all this.