Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

zwelldesigns

About

Username
zwelldesigns
Joined
Visits
72
Last Active
Roles
Member

Comments

  • Fixed it by manually updating parts of config.php and database.php with Fuel 1.4; originally installed the Fuel 1.4 codeigniter folder just by overwriting the original codeigniter folder, but this time, deleted all of the contents and reuploaded fro…
  • Yes, but it didn't fix the issue I'm facing!
  • I am also having an issue logging into the Admin dashboard. When I enter my credentials, it says Invalid Submission which I think is coming from line 73 of fuel/modules/fuel/controllers/Login.php: if (!$this->_is_valid_csrf())? I tried to modify …
  • Thanks so much for your help with this - the problems were my own and all resolved now, back online. It was a combination of certain files not getting updated in my FTP and me needing to update my custom models to fit the new class schemas. All good…
  • I'll try again and let you know, thanks!
  • It is not protected in /fuel/codeigniter/core/Router.php but it is in fuel/application/third_party/MX/Router.php. If I tamper with it to try and fix the error message it's giving me, it just throws the same error for other functions, like _set_reque…
  • It does look like the third_party folder didn't get updated, but when I update those files, now I get the following fatal error: Fatal error: Access level to MX_Router::_set_default_controller() must be public (as in class CI_Router) in /home2/z…
  • Weird! I don't know how that happened, thanks! That fixed the problem. To update, is it not enough to manually drop the fuel/modules/fuel directory from the updated version into the one on my server?
  • That did it - thank you!
  • OK, I figured everything out and there was no problem with the database structure, but I still cannot fix the has_many multiselect menu. When I move items from the left to the right, it saves the values in the relationships table, but the right side…
  • Thanks for that hint, I figured it out! clean() on line 1116 of the Fuel_search library was calling $cleaning_funcs from the search config file. Apparently zap_gremlins on line 85 of the search config file was causing the issue (I have discovered th…
  • I think that my problem might be originating from my database structure, but I could not find anything in the has_many docs that tells me what might be wrong. Right now, I have two tables/models: slp_dictionary (model: Dictionary_model) = diction…
  • PS I also tried process_related(), but I got an error that the method didn't exist because I didn't extend My_Model.
  • I cleared the cache but the problem was still there.
  • Yes, the jquery() function is what was causing that error, so I had to edit it in FUEL's Asset.php library file and remove the line that included the output of that hash value (shown in the original post). I had not modified the function at all, it …
  • I had been getting that integrity constraint error since I did a clean install of FUEL on my server, so I think the answer would be yes - I was getting the error before any changes were made. Should I get a new hash value and try it that way?
  • Thanks for all of your insight and for pointing me in the right direction. I thought I was going to have to make an advanced module for this, but got it to work as a simple module as I had hoped. For future reference of others, I followed your instr…
  • Thanks for your response! To clarify, I want to add the "Bulk Upload SFM" page/view to the admin backend, not to the frontend of the module. Does a normal CI controller still work for that purpose? So now I have the simple module Dictionary, whic…
  • Nevermind! Thanks to this post https://forum.getfuelcms.com/discussion/1508/fuel-model-has-many-no-object-data I figured it out. I did not declare class Gallery_model extends Base_module_record { Whoops!
  • Great, I think that solves the issue with languages in the module. Thank you so much! The compilation error is being thrown when I try to output my serialized field data. If I output $serialized_field['series'][0] I get [, $serialized_field['seri…
  • And a second issue has come up too, since doing this, my serialized field for a series of images is giving me a compilation error. Any idea what I did wrong? On the backend, the serialized field looks fine (it's displaying images and everything), an…
  • I just finished merging my gallery and galleryvariables tables and restructuring my model code. It's much cleaner now, so I'm happy with it. But there's still one issue: FUEL automagically populates the "language" VARCHAR field with the languages…
  • Thanks! I was really overthinking here.
  • So the actual solution is a lot simpler than what I was trying to do by imitating the pages/pagevariables models? I actually got my method to work on the backend. I'm just having trouble getting access to the galleryvariables data. But if your s…
  • Hi! I am returning to this code after a year and a half of not looking at it, and I'm coming up against a problem (of course). When I query my gallery model, it's only pulling the data from the gallery table. Could you please jog my memory re: how t…
  • SOLVED: My 'published' field was set to TINYINT(1, 0) rather than ENUM('yes', 'no'), so my queries were never seeing the published records.
  • Here's the beginning of my model code. I omitted a lot of functions because the post was too long. <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); require_once(FUEL_PATH.'models/base_module_model.php'); class Gallery_…
  • Sorry- another question. My module works without issue now, but when I go to delete an entry, the page displays this message: You are about to delete the item: 0 Though it deletes the proper entry from the DB, why does it say the item "0"? Where c…
  • Finally, it works! Thank you.
  • I think I should really be doing this in an advanced module, but I've already invested a lot of time in a simple module, so I'm trying to make it work. In a simple module, how can I get the ID of the entry before I create it? In an on_after_save()…