URL or IP address problem

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
yafeiliu
Posts: 17
Joined: Wed Aug 24, 2016 2:45 am

URL or IP address problem

Post by yafeiliu » Wed Aug 24, 2016 3:46 am

Hello
My name is Liuyafei,I am using the phpMyFAQ(2.9.4),it is very helpful for my work.But I met a question.
For example ,My phpMyFAQ'URL is "https://10.11.41.18/phpmyfaq","10.11.41.18"is also my IP address.But one day the IP address of my cumputer is changed by some reason,
I can't open the phpMyFAQ anymore.How can I open it again? Could you teach me.Thank you very much. :cry: :cry: :cry:

Thorsten
Posts: 14352
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: URL or IP address problem

Post by Thorsten » Wed Aug 24, 2016 12:44 pm

Hi,

do you have database access? If yes, you can change the address in the faqconfig table.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

yafeiliu
Posts: 17
Joined: Wed Aug 24, 2016 2:45 am

Re: URL or IP address problem

Post by yafeiliu » Mon Aug 29, 2016 7:19 am

Dear Thorsten
I'm so sorry for the late response,I have the database access,but I don't know which document need to change or where is the document contained the address information.

yafeiliu

camel_Trophy
Posts: 32
Joined: Fri Feb 17, 2017 5:03 pm

Re: URL or IP address problem

Post by camel_Trophy » Fri Mar 10, 2017 2:52 am

I ran into this problem and I was able to correct the issue, follow these steps. As Thorsten mentioned you need access to the database, mine was local and I suspect yours is the same way. My database's name is faqdb, make sure you use the name for your db. Also use whatever username for your mysql, mine is root since I am only testing the engine. Change the config_value to the new ip address and directory as noted below. Have fun.



[root@localhost admin]# mysql -u root -p
Enter Password:

mysql> use faqdb;
mysql> show tables;
mysql> select * from faqconfig;
mysql> update faqconfig set config_value='http://your.new.ip.address/faqdirectory' where config_name='main.referenceURL' ;
mysql> exit

Post Reply

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest