I am trying to install bookstore-v02c on phpws 0.8.3. The system I am installing on is
Red Hat Linux 7.2
php 4.0.2
I have just performed a clean install of phpws, and this is a first install of bookstore. When I first added bookstore to the modules and went to the module installer, I get a page full of errors. I checked the files and found the index.php file listed as INDEX.PHP, I changed it to index.php and installation was completed, there were a couple of errors
-------------------------------------
Parse error: parse error in /home/xxx/httpdocs/mod/bookstore/bookstore_admin.php on line 152
Bookstore
This setup installs the bookstore module into phpWebsite.
Are you ready to install bookstore module?
YES NO
Fatal error: Call to undefined function: categories_show() in /home/xxx/httpdocs/mod/bookstore/index.php on line 151
--------------------------------------
There is also an error at the top of the page
Parse error: parse error in /home/xxx/httpdocs/mod/bookstore/bookstore.php on line 1526
I click yes in the "Are you ready to install" sentence and Installation is successefull, same errors on still on page. I click to return to the admin page and "Book Store" was added to main menu, "Reccomends"was added to left with this error
Parse error: parse error in /home/xxx/httpdocs/mod/bookstore/bookstore.php on line 1526
The Book Store image is in the modules section of the admin page. When I follow this to the admin page I get these errors
Parse error: parse error in /home/xxxhttpdocs/mod/bookstore/bookstore_admin.php on line 152
Fatal error: Call to undefined function: admin_pannel() in /home/xxx/httpdocs/mod/bookstore/index.php on line 63
And the error at the top of the page is back. Also the web browser I am using is Mozilla 1.2b. I hope I have included enough info about this problem. Originally I had the blank page problem, but I found the ftp program I used was uploading some files in binary mode. That is why I reinstalled everything with a dif ftp program.
Aaron
aaron@paintbox.org
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-11-23
If you read the parse errors entry in the bugs section, and make the changes, it will work fine.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to install bookstore-v02c on phpws 0.8.3. The system I am installing on is
Red Hat Linux 7.2
php 4.0.2
I have just performed a clean install of phpws, and this is a first install of bookstore. When I first added bookstore to the modules and went to the module installer, I get a page full of errors. I checked the files and found the index.php file listed as INDEX.PHP, I changed it to index.php and installation was completed, there were a couple of errors
-------------------------------------
Parse error: parse error in /home/xxx/httpdocs/mod/bookstore/bookstore_admin.php on line 152
Bookstore
This setup installs the bookstore module into phpWebsite.
Are you ready to install bookstore module?
YES NO
Fatal error: Call to undefined function: categories_show() in /home/xxx/httpdocs/mod/bookstore/index.php on line 151
--------------------------------------
There is also an error at the top of the page
Parse error: parse error in /home/xxx/httpdocs/mod/bookstore/bookstore.php on line 1526
I click yes in the "Are you ready to install" sentence and Installation is successefull, same errors on still on page. I click to return to the admin page and "Book Store" was added to main menu, "Reccomends"was added to left with this error
Parse error: parse error in /home/xxx/httpdocs/mod/bookstore/bookstore.php on line 1526
The Book Store image is in the modules section of the admin page. When I follow this to the admin page I get these errors
Parse error: parse error in /home/xxxhttpdocs/mod/bookstore/bookstore_admin.php on line 152
Fatal error: Call to undefined function: admin_pannel() in /home/xxx/httpdocs/mod/bookstore/index.php on line 63
And the error at the top of the page is back. Also the web browser I am using is Mozilla 1.2b. I hope I have included enough info about this problem. Originally I had the blank page problem, but I found the ftp program I used was uploading some files in binary mode. That is why I reinstalled everything with a dif ftp program.
Aaron
aaron@paintbox.org
If you read the parse errors entry in the bugs section, and make the changes, it will work fine.
bookstore_admin.php (via Tim Ryan)
line 152: need period before $umod
line 282 & 508: need period after table_prefix
bookstore.php (via Tim Ryan)
line 1526 & 1658: need period before table_prefix
bookstore.php (my bit)
line 977 $ 979 & 980 & 981 & 1019: remove & anywhere you see &$ so only the $ is left...
skip what I said:
bookstore.php (my bit)
line 977 $ 979 & 980 & 981 & 1019: remove & anywhere you see &$ so only the $ is left...
And --> This option needs to be enabled in php.ini. If you are not a server admin then get your server admin to do it!