If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Messages posted by: clinthart
Forum Index » Profile for clinthart » Messages posted by clinthart
Author Message
Carbonize wrote:It looks like it's a bug in PHP 4.4.1 and they have fixed it in the latest snapshots. The bug is to do with the reset() function when the variable passed to it is not an array. I will look at writing some code to check that the variable is an array first but it's hard for me to test as I only have access to PHP 4.3.11 and 5.x.


Your code worked!

Open up admin/panel_pwd.php and
find

for (reset($this->table); $key=key($this->table); next($this->table)) {
echo "- ".$this->table[$key]."<br>\n";
}

replace that with

reset($this->table);
foreach ($this->table as $tablename) {
echo "- ".$tablename."<br>\n";
}
Carbonize wrote:It looks like it's a bug in PHP 4.4.1 and they have fixed it in the latest snapshots. The bug is to do with the reset() function when the variable passed to it is not an array. I will look at writing some code to check that the variable is an array first but it's hard for me to test as I only have access to PHP 4.3.11 and 5.x.


I can give you access to my site if you want. Just email me directly and we can work together.

admin@project-quicksilver.com
Carbonize wrote:As I have stated elsewhere I believe this is an issue with PHP 4.4 where they changed some of the api and I will look into it tonight.


Thanks.

Here is the versions of software my provider is running.

PHP version 4.4.1
MySQL version 4.1.13-standard-log

Everything else seems to be fine. I am running the php bulletin board and have no issues.

I also tried creating a New GB and having it recreate the tables in the db, but that didn't help.
I am seeing this problem with Lazarus and AG. When I login as Admin, and I go to the Password page, the section that shows what tables are used goes into a loop. It continuously shows the "book_data" table and won't stop listing that table in the list. It just gets stuck listing the same table over and over.

Any ideas?
Carbonize wrote:The smilies you see on the form are hard coded into the templates/form.php file.


Cool... thanks.
I have changed what emoticons I want to use in the 2.3.4 Advanced guestbook, however the only place where the update is visible is in the "Legend". The primary display still shows the default selection.
 
Forum Index » Profile for clinthart » Messages posted by clinthart
Go to:   
Based on the open source JForum