| Author |
Message |
Slav
Joined: May 23, 2004
Posts: 2
Status: Offline
|
Posted:
May 24, 2004 - 03:41 AM |
|
Hi we purchased the new full version product but we are having a issue with the regeneration in the modules atm, anywya i was hoping we can get a databse .sql file i can run direct into the phpmyadmin to get this module to work.
If i can can i have it sent to golab@bigpond.com
Our order was.
Transaction ID: 59198879DT238034M
Product: pnTarot
Thanks as i dont have a idea how else tog et the module going.
Thanks Slav |
|
|
|
 |
Admin
Site Admin
Joined: May 03, 2004
Posts: 21
Status: Offline
|
  Posted:
May 24, 2004 - 07:40 AM |
|
Which version of Postnuke are you using? |
|
|
|
 |
Slav
Joined: May 23, 2004
Posts: 2
Status: Offline
|
  Posted:
May 24, 2004 - 07:51 AM |
|
Hi i am running PostNuke version: 0.7.2.6-Phoenix
I dont think it is the module but something else.
Slav |
|
|
|
 |
Admin
Site Admin
Joined: May 03, 2004
Posts: 21
Status: Offline
|
  Posted:
May 24, 2004 - 07:58 AM |
|
We posted the sql table in downloads, under Postnuke, pnTarot.
We also emailed a copy to you.
Hope this helps. |
|
|
|
 |
MisterSlippery
Joined: Oct 15, 2004
Posts: 5
Status: Offline
|
  Posted:
Oct 15, 2004 - 01:18 PM |
|
I have just installed on my nuke site V 0.7.2.6 (1.0-44) http://mrslippery.com
The application works except for when I try to save a reading.
I get the error message
error inserting: Table 'mrslippery_com_-_postnuke._pntarot' doesn't exist. |
|
|
|
 |
Admin
Site Admin
Joined: May 03, 2004
Posts: 21
Status: Offline
|
  Posted:
Oct 15, 2004 - 01:58 PM |
|
Firstly, did you initialize the module in your control panel, then activate it?
Secondly, if you have done the above, try downloading the sql table from our downloads section and using phpMyAdmin (or favorite MySQL tool), create the table manually.
If you still have problems, let me know. From your description above, you may not have used the standard "nuke_" table prefix and you might need to alter the sql statements slightly to accomodate your changes. Don't worry, we can get this to work without too much fuss. |
|
|
|
 |
MisterSlippery
Joined: Oct 15, 2004
Posts: 5
Status: Offline
|
  Posted:
Oct 15, 2004 - 02:41 PM |
|
I got the save function working.
yes I had to modify the sql from your downloads area.
this site is a hosted site so I'm kinda stuck with their conventions.
I DO have PHPMA though and was able to create the sql by hand.
I am having two other problems now.
when I try to do the "printable page" option I get no card images and the following error messages :
----------------------
Warning: fopen(): Unable to access /modules/pntarot/cards/.html in /home/virtual/site31/fst/var/www/html/postnuke/modules/pntarot/tarotprint.php on line 667
Warning: fopen(/modules/pntarot/cards/.html): failed to open stream: No such file or directory in /home/virtual/site31/fst/var/www/html/postnuke/modules/pntarot/tarotprint.php on line 667
Fatal error: Call to undefined function: pnsessionsetvar() in /home/virtual/site31/fst/var/www/html/postnuke/modules/pntarot/tarotprint.php on line 670
-------------------------
the other problem is even stranger
when I try to open the pntarot admin function in my admin panel - it takes me to my top news story
 |
|
|
|
 |
Admin
Site Admin
Joined: May 03, 2004
Posts: 21
Status: Offline
|
  Posted:
Oct 15, 2004 - 06:03 PM |
|
Find the file tarotprint.php in your pntarot modules directory. On line 13 change "$rootdir="$_POST[url]"; /* Your URL. No Trailing "/" */" and manually enter the path to your root directory instead of "$_POST[url]". From your post, my best guess is to try | Code: | | "$rootdir=home/virtual/site31/fst/var/www/html/postnuke"; |
These problems are occuring because your hosted account is atypical (not that that's bad, just different).
As to the news page, do you have past nuke and/or legacy support running? If not turn them on. Also, do you use Autotheme? If so, what version?
Let me know how you fare, we're almost there! |
|
|
|
 |
MisterSlippery
Joined: Oct 15, 2004
Posts: 5
Status: Offline
|
  Posted:
Oct 16, 2004 - 12:35 PM |
|
I've tried every variation on tweeking rootdir and rooturl that I can think of nothing helps.
I'm confused becaus in tarotprint.php I see
$rootdir="$_POST[url]"; /* Your URL. No Trailing "/" */
$rooturl="$_POST[url]"; /* Path to your root directory. No Trailing "/". */
are these /* comments */ just mixed up ?
I set PastNuke - that did nothing either
I believe I'm using auto-theme lite .8 |
|
|
|
 |
Admin
Site Admin
Joined: May 03, 2004
Posts: 21
Status: Offline
|
  Posted:
Oct 16, 2004 - 01:12 PM |
|
Please remove lines 13 and 14 from tarotprint.php and paste the following in their place:
| Code: | $rootdir="http://mrslippery.com/postnuke";
$rooturl="home/virtual/site31/fst/var/www/html/postnuke"; |
MAKE SURE TO REFRESH YOUR BROWSER.
If that does not work, this definitely will:
| Code: | $rootdir="http://mrslippery.com/postnuke";
$rooturl="http://mrslippery.com/postnuke/"; |
DON'T FORGET TO REFRESH.
The problem is that you have an atypical setup. The comments above are actually meaningless and are only used for diagnostic purposes on different setups.
Let me know how you fare.
 |
|
|
|
 |
MisterSlippery
Joined: Oct 15, 2004
Posts: 5
Status: Offline
|
  Posted:
Oct 17, 2004 - 05:36 PM |
|
with the first change I get :
| Quote: | Warning: fopen(http://mrslippery.com/postnuke/modules/pntarot/cards/.html): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/virtual/site31/fst/var/www/html/postnuke/modules/pntarot/tarotprint.php on line 666
Fatal error: Call to undefined function: pnsessionsetvar() in /home/virtual/site31/fst/var/www/html/postnuke/modules/pntarot/tarotprint.php on line 669
|
for the second change I get :
| Quote: | Warning: fopen(http://mrslippery.com/postnuke/modules/pntarot/cards/.html): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/virtual/site31/fst/var/www/html/postnuke/modules/pntarot/tarotprint.php on line 666
Fatal error: Call to undefined function: pnsessionsetvar() in /home/virtual/site31/fst/var/www/html/postnuke/modules/pntarot/tarotprint.php on line 669 |
If I do a view source it reveals that the actual error is :
| Quote: | Fatal error: Call to undefined function: pnsessionsetvar() in /home/virtual/site31/fst/var/www/html/postnuke/modules/pntarot/tarotprint.php on line 669
|
I don't know if I mentioned it before but none of the card gifs show up on the prinatble page - if you look at the fopen string it chokes on - itt shows that the card numebr has not been substituted into the URL string. |
|
|
|
 |
Admin
Site Admin
Joined: May 03, 2004
Posts: 21
Status: Offline
|
  Posted:
Oct 18, 2004 - 02:09 AM |
|
OK. Let's try this.
Change lines 13 & 14 in tarotprint.php to:
| Code: | $rootdir="http://mrslippery.com/postnuke";
$rooturl="http://mrslippery.com/postnuke"; |
Then, open tarot.php and go to line 304.
Change This:
| Code: | | print "<form target=\"blank\" action=\"$rooturl/modules/pntarot/tarotprint.php\" method=\"post\">"; |
To This:
| Code: | | print "<form target=\"blank\" action=\"$rooturl/postnuke/modules/pntarot/tarotprint.php\" method=\"post\">"; |
Let's see if that does it ... |
|
|
|
 |
MisterSlippery
Joined: Oct 15, 2004
Posts: 5
Status: Offline
|
  Posted:
Oct 19, 2004 - 01:38 PM |
|
making those changes now results in
a 501 page with the following.
| Quote: | Method Not Implemented
url=http%3A%2F%2Fwww.mrslippery.com%2Fpostnuke%2F&id=mrslippery
&question=tuesday_test&randarray=11%2C48%2C23%2C28%2C61%2C4
%2C12%2C76%2C9%2C43%2C57&randarrayr=1000%2C1%2C1%2C2
%2C2%2C1%2C2%2C1%2C1%2C2%2C2&x=11&s=1000GET to
/postnuke/postnuke/modules/pntarot/tarotprint.php not supported.
Invalid method in request url=http%3A%2F%2Fwww.mrslippery.com%2Fpostnuke%2F&id=mrslippery
&question=tuesday_test&randarray=11%2C48%2C23%2C28%2C61%2C4
%2C12%2C76%2C9%2C43%2C57&randarrayr=1000%2C1%2C1%2C2%2C2
%2C1%2C2%2C1%2C1%2C2%2C2&x=11&s=1000GET /postnuke/postnuke/modules/pntarot/tarotprint.php HTTP/1.1 |
|
|
|
|
 |
Admin
Site Admin
Joined: May 03, 2004
Posts: 21
Status: Offline
|
  Posted:
Oct 19, 2004 - 06:26 PM |
|
OK, it appears that the tarot.php file was correct and the above implemented change is not needed. So let's begin by putting everything back to the initial distribution status as follows:
Open tarot.php and go to line 304.
Change This:
| Code: | | print "<form target=\"blank\" action=\"$rooturl/postnuke/modules/pntarot/tarotprint.php\" method=\"post\">"; |
Back To This:
| Code: | | print "<form target=\"blank\" action=\"$rooturl/modules/pntarot/tarotprint.php\" method=\"post\">"; |
Open tarotprint.php, and change lines 13 & 14 back to the following:
| Code: | $rootdir="$_POST[url]";
$rooturl="$_POST[url]"; |
Now, I have a critical question ... what is the exact path to your home directory? If you are not sure, ask your provider (i.e. home/server/www/etc/).
Also, please show me the changes you made to the sql file.
Next, please try using the Extralite Theme and let me know the results.
The problem is that the tarotprint.php file is not receiving the post from the tarot.php file.
What is interesting is that I can actually feed info from my location to your tarotprint.php file and get it to print out properly. Ironically, from my local tarotprint.php, using the following parameters on lines 13 & 14, I get your program to printout just fine!!!
| Code: | $rootdir="http://mrslippery.com/postnuke";
$rooturl="http://mrslippery.com/postnuke"; |
In short, your "virtual" server is baffling me ... but I still think we can get it to work.
Thanks for your patience.
If you would like, at no charge, I would be glad to attempt to personally install the script properly. However, I would need access to your control panel, phpmyadmin, and ftp access. |
|
|
|
 |
JammerPro
Joined: Feb 05, 2005
Posts: 2
Status: Offline
|
  Posted:
Mar 04, 2005 - 01:42 PM |
|
I just checked Mr. Slippery's site and contacted him via email. It appears the problem was that the version of php he was using on his server was older than version 4. Since he is now using php 4+, everything is working just fine! |
|
|
|
 |
|
|