Hi,
I am new to postnuke so hopefully my problem is an easy one.
I have installed postnuke using fantastico from a shared hosting package. In the docs it says postnuke 0.760 phoenix
I uploaded Amazone version 1.0 into mysite/modules/amazone
Then went into Admin on my site and in modules clicked regenerate and Amazone came up in the modules. I then clicked "Activate"
In blocks i went into main menu>edit under title i put books and under URL i put [AmaZone] and then clicked update.
When i click on books in menu it says Failed to load module AmaZone
Any ideas what i'm doing wrong ????? I managed to install pnphBB2 this way but cant figure out why amazone won't install.
V.Grateful for any Help
Newbie Newman
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Problems installing Amazone (Newbie)
-
- Rank: Helper
- Registered: Jan 29, 2004
- Last visit: Oct 21, 2009
- Posts: 852
Hi Newman,
I played around with this module and I saw the same thing. You probably didn't follow the installation instructions (like me)...
If you goto Administration -> Modules and you look at the AmaZone entry do you see version number of 0?
I did and this is how I fixed it:
Goto to the /modules/AmaZone folder and copy everything from the folder /modules/AmaZone/AmaZone to /modules/AmaZone (one folder up) Now goto Administration -> Modules and click regenerate. You should get a New version installed message next to the AmaZone entry. Click Upgrade and Activate and the module should work as expected.
And whatever you do: also read the modules/AmaZone/AmaZone/docs/manual.htm
HTH -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jan 23, 2006
- Posts: 20
Hi ainigma32,
There is a god :)
You were correct on all points. I bet you can guess how happy i am right now.
Apart from lots of reading....I've gotta pay more attention to detail !!!
Thanks again ainigma32
Newman -
- Rank: Helper
- Registered: Jan 29, 2004
- Last visit: Oct 21, 2009
- Posts: 852
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jan 23, 2006
- Posts: 20
ainigma32...
The joy is short lived.....:(
In the amazone admin menu when i click on preferences everything is fine but when i click on Add/Remove i get Fatal error: Call to a member function RecordCount() on a non-object in ....admin.php on line 65
and when i click on Report featured i get Fatal error: Call to a member function RecordCount() on a non-object in....admin.php on line 295
Have i missed something else? -
- Rank: Helper
- Registered: Jan 29, 2004
- Last visit: Oct 21, 2009
- Posts: 852
Newman,
Sorry to hear that. To remedy this you'll have to remove the module and reinstall it. Problem is that if you click the remove link in the Administration -> Modules screen you'll get the message Can't remove module
So goto the /modules folder and remove the AmaZone folder (copy it to a
temporary location)
Next go into the database using something like phpMyAdmin and remove the AmaZone entry from the table prefix_modules (the prefix is sometyhing you chose when you installed PN)
You can do that either through the phpMyAdmin interface or manually by issueing a SQL queryCode
DELETE FROM prefix_modules WHERE pn_name = 'AmaZone';
Next goto to the Administration panel and click the remove option next to the AmaZone entry.
Now copy the AmaZone folder back into the /modules folder, goto Administration -> Modules and initialize and activate the module.
Things should work now.
Good luck! -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 144
I had the same exact problem. I did not have to do the SQL query. I can't remember the exact steps, but I believe I deactivated the module, then copied it to a temp directory, then did the remove module. I put it back, then regenerated and reactivated.
It sounds like we need to make a suggestion -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jan 23, 2006
- Posts: 20
Ainigma32 and Gamers Radio,
Thanks v.much guys your advice seems to have done the trick :)
I didnt have to do the SQL query...I followed Gamers instructions, as they seemed easier, and it appears to have worked.
Hopefully there wont be any problems now.
I REALLY appreciate the help guys...thanks -
- Rank: Helper
- Registered: Jan 29, 2004
- Last visit: Oct 21, 2009
- Posts: 852
@Newman: You're welcome
@GamersRadio: thanks for the tip. I'll keep that in mind. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jan 23, 2006
- Posts: 20
Hi Guys,
The drama continues...
Everything looks fine now... but i cant add any products
When i put in the Ainsi code i get the correct thumbnail of the product and am asked if i want to add the product. When i click on, yes add product, it looks as if things have worked but no products have been added. The statistics show 0 total products.
Any suggestions ? -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jan 23, 2006
- Posts: 20
Hi
I found a post about the problem i'm having
http://noc.postnuke.com/forum/forum.php?thread_id=2131&forum_id=929
Apparently it might have something to do with the hosting company and what they run or restrict on the server.
I contacted my hosting company. They said they would pass the problem on to a Manager but also stated that in the past they banned postnuke from the servers due to security problems.
Hopefully i can get this resolved.
Ainigma 32 and Gamers Radio...thanks for all the help so far
Newman -
- Rank: Helper
- Registered: Jan 12, 2004
- Last visit: Jan 20, 2010
- Posts: 590
Newman,
I am the AmaZone developper, but sorry, I missed that thread
You say "When i put in the Ainsi code i get the correct thumbnail" so this is rather good news, because it means that your module DOES communicate with the amazon webservices server !!
This also means that your problem is definitely not the same as the one in the NOC thread you referenced. This guy was having a problem because fopen was deactivated by its hosting compagny. If fopen was deactivated in your case, the thumb image would not appear. So we can say your problem is elsewhere ...
Can you check in the database if all the tables were correctly created during module installation ?
Use phpMyAdmin and verify you have tables with names like:
pn_amazon_cache
pn_amazon_catalog
pn_amazon_department
pn_amazon_items
pn_amazon_nodes
pn_amazon_not_item
Of course your common prefix may be different from pn_ (for instance nuke_)
If all or some of these tables are missing, this is the sign something went wrong during module initialization.
AmaZone initialization contain not only tables creations but also a lot of records creations, depending of your locale (us, uk, de, fr, ca, jp) so you should find approx 16 records in the department table and quite a lot of records in the catalog and nodes tables.
In any case, let me know, I will try to find the problem because maybe it will help other people.
Last note: if an hosting compagny say "In the past we banned postnuke from the servers due to security problems" it's time to look for another one.
To ban a software is an emergency act when the developper team is not responding and quickly providing a fix. This has to my best knowledge never been the case for PostNuke.
I bet they can't even say when, and what was the problem. I would also be curious to learn the list of banned softwares
--
Visit my live reef aquarium.
My Amazon wish list. -
- Rank: Helper
- Registered: Jan 12, 2004
- Last visit: Jan 20, 2010
- Posts: 590
GamersRadio
I had the same exact problem. I did not have to do the SQL query. I can't remember the exact steps, but I believe I deactivated the module, then copied it to a temp directory, then did the remove module. I put it back, then regenerated and reactivated.
It sounds like we need to make a suggestion
Your way of removing the module will only work if No table were created during the first install. Here is a procedure that will work in all situations
- [*:3043508261]deactivate the module,
- [*:3043508261]Remove all files in Modules/AmaZone directory,
- [*:3043508261]With phpMyAdmin delete all tables with name begining with prefix_amazon_ where prefix is your common prefix (PN, nuke, ...)
- [*:3043508261]Going to Administration/modules, remove the AmaZone module
- [*:3043508261]Re-upload all AmaZone files to Modules/AmaZone, I suggest to verify that all files were really uploaded, quite a lot of support requests end with "some files were missing",
- [*:3043508261]Initialize and activate the AmaZone module again
I prefer to delete and re-upload files rather than moviing to a temp place just to be sure everything is clean and the procedure is bulletproof.
The order of the operations in this procedure is important !!!
--
Visit my live reef aquarium.
My Amazon wish list. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jan 23, 2006
- Posts: 20
Hi jmvedrine and Gamers Radio,
I checked the PHP admin for the tables you mention and they are there ...all 6 of them.
In the department table it says under indexes cardinality 16 which i assume are the 16 records you mentioned.
I'll try de activating, deleting, and re uploading everything and see if that does the trick.
Thanks for the help :)
I'll let you know how i get on
Newman
- Moderated by:
- Support
