We devote this work to investigate the solutions of a generalized diffusion equation which contains spatial fractional derivatives and nonlinear terms. The presence of external forces and absorbent terms is also considered. The solutions found here can have a compact or long tail behavior. Particularly in the last case in the asymptotic limit, we relate these solutions to the Lévy or Tsallis distributions. In a...