Error message when trying to install
Moderator: Thorsten
Error message when trying to install
Hi
I wonder if you csn help me. I am trying to install PHPMYFAQ, but I am having a problem installing it. I get this error message:
Warning: require_once(/home/oils/public_html/inc/autoLoader.php) [function.require-once]: failed to open stream: No such file or directory in /home/oils/public_html/install/installer.php on line 35
Fatal error: require_once() [function.require]: Failed opening required '/home/oils/public_html/inc/autoLoader.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/oils/public_html/install/installer.php on line 35
I've installed the software on two other domains on the same server without a problem, so can't understand this problem. This is the lates version of the software.
My server is running: PHP version 5.2.9 MySQL version 5.1.30
Thanks in advance
I wonder if you csn help me. I am trying to install PHPMYFAQ, but I am having a problem installing it. I get this error message:
Warning: require_once(/home/oils/public_html/inc/autoLoader.php) [function.require-once]: failed to open stream: No such file or directory in /home/oils/public_html/install/installer.php on line 35
Fatal error: require_once() [function.require]: Failed opening required '/home/oils/public_html/inc/autoLoader.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/oils/public_html/install/installer.php on line 35
I've installed the software on two other domains on the same server without a problem, so can't understand this problem. This is the lates version of the software.
My server is running: PHP version 5.2.9 MySQL version 5.1.30
Thanks in advance
Re: Error message when trying to install
Hi,
your include path is broken on that machine.
bye
Thorsten
your include path is broken on that machine.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Error message when trying to install
Hi
Thanks for getting back to me.
I found the problem. I had mistakenly enabled 'force lower case' in my FTP client when uploading the script. As many of your file names are in mixed case eg. AutoLoader.php, the file was not found. Perhaps you could think about making all of your file names lower case in future releases?
Can you help me with another small problem? Can you tell me how I can list the "Records in this category List" in alphabetical order? Also the Tags too.
Thanks in advance for your responce and also for this excellent FAQ script!
Thanks for getting back to me.
I found the problem. I had mistakenly enabled 'force lower case' in my FTP client when uploading the script. As many of your file names are in mixed case eg. AutoLoader.php, the file was not found. Perhaps you could think about making all of your file names lower case in future releases?
Can you help me with another small problem? Can you tell me how I can list the "Records in this category List" in alphabetical order? Also the Tags too.
Thanks in advance for your responce and also for this excellent FAQ script!
Re: Error message when trying to install
Hi,
bye
Thorsten
no, just because the file names are equal to the class names (class PMF_Logging is in the file Logging.php).Jimmyfr wrote:I found the problem. I had mistakenly enabled 'force lower case' in my FTP client when uploading the script. As many of your file names are in mixed case eg. AutoLoader.php, the file was not found. Perhaps you could think about making all of your file names lower case in future releases?
You can set the ordering for records in the configuration. The tags should be in alphabetically order.Jimmyfr wrote:Can you help me with another small problem? Can you tell me how I can list the "Records in this category List" in alphabetical order? Also the Tags too.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Error message when trying to install
Yes I tried that, but it didn't make any difference. The order is still date order.
Re: Error message when trying to install
Hi,
bye
Thorsten
for which one? Records oder tags?Jimmyfr wrote:Yes I tried that, but it didn't make any difference. The order is still date order.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Error message when trying to install
Neither. I changed config to order by title, but they are still not in alphabetical order.
Can I change the php somewhere?
Can I change the php somewhere?
Re: Error message when trying to install
Hi,
for the records:
inc/Faq.php, line 2592:
Change
to
For tags:
inc/Tags.php, line 472:
Change
to
bye
Thorsten
for the records:
inc/Faq.php, line 2592:
Change
Code: Select all
fd.id';Code: Select all
fd.thema';inc/Tags.php, line 472:
Change
Code: Select all
t.tagging_name = '%s'",Code: Select all
t.tagging_name = '%s'
ORDER BY
t.tagging_name",Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Error message when trying to install
Hi
Excellent that worked perfectly for the faq.php list.
It didn't work for the tags however, but that's not so much of a problem. This is what I did:
I changed this:
function getRecordsByTagName($tagName)
{
if (!is_string($tagName)) {
return false;
}
$query = sprintf("
SELECT
d.record_id AS record_id
FROM
%sfaqdata_tags d, %sfaqtags t
WHERE
t.tagging_id = d.tagging_id
AND t.tagging_name = '%s'",
SQLPREFIX,
SQLPREFIX,
$tagName
);
for this:
function getRecordsByTagName($tagName)
{
if (!is_string($tagName)) {
return false;
}
$query = sprintf("
SELECT
d.record_id AS record_id
FROM
%sfaqdata_tags d, %sfaqtags t
WHERE
t.tagging_id = d.tagging_id
AND t.tagging_name = '%s'
ORDER BY
t.tagging_name",
SQLPREFIX,
SQLPREFIX,
$tagName
);
Was that correct?
Thanks again anyway.
Excellent that worked perfectly for the faq.php list.
It didn't work for the tags however, but that's not so much of a problem. This is what I did:
I changed this:
function getRecordsByTagName($tagName)
{
if (!is_string($tagName)) {
return false;
}
$query = sprintf("
SELECT
d.record_id AS record_id
FROM
%sfaqdata_tags d, %sfaqtags t
WHERE
t.tagging_id = d.tagging_id
AND t.tagging_name = '%s'",
SQLPREFIX,
SQLPREFIX,
$tagName
);
for this:
function getRecordsByTagName($tagName)
{
if (!is_string($tagName)) {
return false;
}
$query = sprintf("
SELECT
d.record_id AS record_id
FROM
%sfaqdata_tags d, %sfaqtags t
WHERE
t.tagging_id = d.tagging_id
AND t.tagging_name = '%s'
ORDER BY
t.tagging_name",
SQLPREFIX,
SQLPREFIX,
$tagName
);
Was that correct?
Thanks again anyway.
Re: Error message when trying to install
Hi Sorry
Also what would I change in inc.Category.php to get the 'Records in this category' into Alphabetical order?
Thanks
Also what would I change in inc.Category.php to get the 'Records in this category' into Alphabetical order?
Thanks
Re: Error message when trying to install
Hi,
bye
Thorsten
this is what I posted 3 posts before. It's not in inc/Category.php.Jimmyfr wrote:Also what would I change in inc.Category.php to get the 'Records in this category' into Alphabetical order?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Error message when trying to install
Hi
Sorry I can't see the code above to change the categories can you repost it please.
The code you gave for tags doesn't work.
Thanks in advance
Sorry I can't see the code above to change the categories can you repost it please.
The code you gave for tags doesn't work.
Thanks in advance
Re: Error message when trying to install
Hi
Sorry, Tags are now working fine. Thank you.
All I need now is to get the 'Records in this category' to go into alphabetical order.
Thanks
Sorry, Tags are now working fine. Thank you.
All I need now is to get the 'Records in this category' to go into alphabetical order.
Thanks
Re: Error message when trying to install
Hi
Sorry, perhaps my request wasn't clear.
When you go to a FAQ, there is a list on the right hand side of the screen of other FAQ's in that category. How can I put this list into Alphabetical order ( a, b, c, d etc)? At the moment the newest FAQ's are added to the bottom of the list.
I have tried changing the configuration, but it didn't change the order of this list.
I hope that is clearer, sorry for any confusion.
Thank you
Sorry, perhaps my request wasn't clear.
When you go to a FAQ, there is a list on the right hand side of the screen of other FAQ's in that category. How can I put this list into Alphabetical order ( a, b, c, d etc)? At the moment the newest FAQ's are added to the bottom of the list.
I have tried changing the configuration, but it didn't change the order of this list.
I hope that is clearer, sorry for any confusion.
Thank you
Re: Error message when trying to install
Hi,
ah, okay.
Open inc/Faq.php, goto line 2592 and change the code
to
bye
Thorsten
ah, okay.
Open inc/Faq.php, goto line 2592 and change the code
Code: Select all
fd.id';Code: Select all
fd.thema';Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist