ocGiftgiver - Comments
1 guests and 0 members have just viewed this: None
Control functions:

| To | × pt | For |
|---|---|---|
| Chris Graham | 10 | Sup… |
| temp1024 | 80 | Sup… |
| curtisbrew | 50 | Hel… |
| Fletch | 500 | Sup… |
| Fletch | 100 | The… |
| Duck | 200 | Pro… |
| Fletch | 100 | The… |
| Chris Graham | 100 | Hel… |
| Fletch | 100 | The… |
| Fletch | 100 | The… |
The top 5 point holders for this week are…
Want points? Earn 350 when a member joins using a recommended address.
Also check out our community stars.
Points to spend? Buy a banner at the point store.
ocGiftgiver by Kamen Blaginov
Previous edited gift inventory wiped out
I updated ocGifts to this version 7 yesterday, and now see that the gift inventory display has reverted back to the original default list.
I had originally spent a fair amount of time removing gifts I didn't want to keep, and uploading new gifts.
I see that my uploaded gift files are still on the server.
Do i have to manually edit the inventory list all over again, or is there a quicker way to fix this?
I also noticed that all the gifts given by members to each other so far, are no longer showing on their profile page.
I'm afraid reinstalling an addon on top of an existing installation will delete then recreate the addons database structure. This is an oversight on our part, we will correct it in 7.1.1.
I hope you have a backup of your ocgifts table, as if you do you can just restore this. If you have a complete SQL dump you can open it in a text editor and find where the "INSERT INTO" queries start for that table and get copy and paste them into a separate file, which you would then import into phpMyAdmin. I am happy to do this for you for no charge, given the inconvenience of this bug.
I've restored the "gifts", "member_gifts" and "ocgifts" tables from the file you've posted. This should do the trick, but since I'm not familiar with the changes you've made I'd appreciate if you could let us know if this has solved the issue. Note that I took a full database backup before restoring the old tables.
Thanks,
ChrisW
Thank you very much. All the gifts look back to the way I had them before. The only difference I notice is actually elsewhere, in the 'side_recent_points' block that I had installed a few days ago. The reason ('For') column disappeared for members given points before you restored the tables. (though it appears for a new point gift test I just did now). Can that table be easily restored?
Also, I think it would be good to delete the database backup attachment above when you're done, since it appears to be publicly downloadable.
Thank you
I've also removed the database backup files from the server now, but I've kept a copy on my computer here in case it comes in handy in the future.
Thanks,
ChrisW
Sorry for not being clear, I actually meant it would probably be good to delete the database backup file I had attached above in this discussion forum.
Thank you
Try editing your post to remove the file. I think that you should be able to remove the attachment.
Bob
Thanks again
Point store is installed and working. I checked the DB for missing Field "category" and default value, but cannot evaluate other than that it is present.
Here is the stack trace for the error that occur during installation:
Working Fine Now!
Thanks!
/adminzone/pages/modules_custom/admin_ocgifts.php on line 172
Critical error - bailing out
This is an error that has been elevated to critical error status because it occurred during the primary error mechanism reporting system itself (possibly due to it occuring within the standard output framework). It may be masking a secondary error that occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
PHP ERROR [1] Call to undefined function get_page_title() in adminzone/pages/modules_custom/admin_ocgifts.php on line 172 (version: 9-beta2, PHP version: 5.3.13, URL: /adminzone/index.php?page=admin_ocgifts)
Stack trace…
File -> '/home/rbcjhubc/public_html/sources/failure.php'
Line -> 693
Function -> 'die_html_trace'
Args -> array ( 0 => 'PHP ERROR [1] Call to undefined function get_page_title() in adminzone/pages/modules_custom/admin_ocgifts.php on line 172 (version: 9-beta2, PHP version: 5.3.13, URL: /adminzone/index.php?page=admin_ocgifts)', )
File -> '/home/rbcjhubc/public_html/sources/global2.php'
Line -> 1011
Function -> '_fatal_exit'
Args -> array ( 0 => 'PHP ERROR [1] Call to undefined function get_page_title() in adminzone/pages/modules_custom/admin_ocgifts.php on line 172', )
File -> '/home/rbcjhubc/public_html/sources/failure.php'
Line -> 220
Function -> 'fatal_exit'
Args -> array ( 0 => 'PHP ERROR [1] Call to undefined function get_page_title() in adminzone/pages/modules_custom/admin_ocgifts.php on line 172', )
File -> '/home/rbcjhubc/public_html/sources/global2.php'
Line -> 874
Function -> '_ocportal_error_handler'
Args -> array ( 0 => 'error', 1 => 1, 2 => 'Call to undefined function get_page_title()', 3 => 'adminzone/pages/modules_custom/admin_ocgifts.php', 4 => 172, )
File -> '/home/rbcjhubc/public_html/sources/global2.php'
Line -> 810
Function -> 'ocportal_error_handler'
Args -> array ( 0 => 1, 1 => 'Call to undefined function get_page_title()', 2 => '/home/rbcjhubc/public_html/adminzone/pages/modules_custom/a
dmin_ocgifts.php', 3 => 172, )
Function -> 'catch_fatal_errors'
Args -> array ( )
Any idea?
Thanks for help
Any updates as to when version 9 addons become available, any speculations???