⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

CRUD stopped working, now has a ? in path for everything.



kaosweaver
  • profile picture
  • Member

Posted 30 October 2012 - 15:28 PM

Well, I had set this up a while ago on a development site, finally moved the site to a beta location for testing and the paths for the add/edit/delete functionality are all prefixed with a ? - when I go to add a record, the URL has ? in front of the path, remove the ? and the add form shows up (but then, the form's action has the ? in it, remove that with webdev tool on the page and it attempts, but fails, to add the record)

I have no idea how that is happening and I don't see any setting that would require that to be there.

I have, in the htaccess:
RewriteRule ^admin/(.*)$ /index.php/$1

I've tried (with no success):
RewriteRule ^admin/(.*)$ /index.php/admin/$1

We can't use a global replace everything because we're selectively updating an existing site (so, some things will be on legacy, some on CI section of the site)

In config, I have:
$config['index_page'] = '';

My initial pages (with the table display) work with all of the records being displayed, it is the add, edit and delete that aren't working.

any clues?

kaosweaver
  • profile picture
  • Member

Posted 30 October 2012 - 16:57 PM

Stupid query string setting, solved.