I've installed the module and enabled it. When I go to create the profile, by viewing or exporting a saved file, either of those buttons just refreshes the page. This resets my custom profile name to the default and nothing else seems to happen. Any ideas?

Comments

nicholas.alipaz’s picture

Version: 5.x-1.1 » 6.x-2.x-dev
Category: support » bug

This is happening for me too. I don't know if it is due to the fact that it is a multisite installation but it needs to be reviewed again I think.

dsnoeck’s picture

Same for me. I'm using the 2.1-rc1, (which is the same as the dev) and I don't have a multisite installation. I will dive into the code ... we will see.

dsnoeck’s picture

So, after some research and in my case, I cannot generate a profile under Windows!
I have a exact copy of my website on Windows and Ubuntu and the profile generate works only on Ubuntu.
So I tried to install a fresh Drupal 6.19 with only ctools and profile generate modules on Windows and again, it's not working. Here are my configs:
- Windows XP SP3, Apache/2.2.11 and PHP/5.3.0
- Ubuntu 10.10, Apache/2.2.16 and PHP/5.3.3

Is maybe due to a different php config.

nicholas.alipaz’s picture

I have tested on both Debian and Ubuntu. Ubuntu 10.04 is what I use for my OS on my local machine and my server is running Debian. I could not get it to work on either.

Shiny’s picture

The module was completely re-written in mid 2010 -- so finding the same bug is indeed curious.
Hoping to find time to look at this in the next week.

dsnoeck’s picture

Hi Shiny,
Can this issue be related to a different system config (PHP version or PHP module) ?

kim-day’s picture

Just another confirmation of the bug ... Let me know if I can help test anything. This module looks like it'd be really useful in the university setting I work in so I'd love to see this fixed.

divbox’s picture

Version: 6.x-2.x-dev » 6.x-2.1-rc1

I was able to get this to work (using rc1) by altering the submit function (profile_generator_form_submit)

I added this before the theme call...

print highlight_string(drupal_render($output), true);
exit;

echo theme('page', '<pre><code language="php">' . highlight_string(drupal_render($output), true) . '

');

Something about the theme was failing I guess. I get the output on the screen like an install profile.
If I did not add the exit, the theme function was called and I was not able to see what I needed.

Now to see if it works :)

div