CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript, Python code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Thu Mar 28, 2024 9:30 pm

All times are UTC




Post new topic Reply to topic  [ 41 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Why is my template not recognizig my scripts?
PostPosted: Mon Apr 15, 2019 3:09 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
Hi.

1) We should find out your web server settings.
Even simple PHP script doesn't work.

2) We asked You to run this script by the following URL:
http://localhost/se544/test.php
Does it work?
What does it show?

3) The following values should be entered in your previous screenshot:
Database host = 127.0.0.1
URL for project = http://localhost/se544/

Thanks,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Why is my template not recognizig my scripts?
PostPosted: Tue Apr 16, 2019 10:31 pm 
Offline

Joined: Fri Mar 22, 2019 10:13 pm
Posts: 62
Location: www
Admin Wrote:
Hi.

1) We should find out your web server settings.
Even simple PHP script doesn't work.

2) We asked You to run this script by the following URL:
http://localhost/se544/test.php
Does it work?
What does it show?

3) The following values should be entered in your previous screenshot:
Database host = 127.0.0.1
URL for project = http://localhost/se544/

Thanks,
Codelobster Team.



Hi there

1) We should find out your web server settings.
Even simple PHP script doesn't work.
http://127.0.0.1/ We get the apatche Ubuntu Default Page,
In httpd.conf ServerRoot "/opt/lampp"
while http://127.0.0.1/test.php is found under /var/www/html/
localhost/info.php shows the php info page.


2) We asked You to run this script by the following URL:
http://localhost/se544/test.php
Does it work?
What does it show?

to 2.: Not Found
The requested URL http://localhost/se544/test.php was not found on this server.
Apache/2.4.18 (Ubuntu) Server at 127.0.0.1 Port 80



3) The following values should be entered in your previous screenshot:
Database host = 127.0.0.1
URL for project = http://localhost/se544/
Cannot create WordPress project because error:
Critical error: Cannot execute installation script
Check you project url


We've tried all kind of combinations no joy.
We set up up a data base and gave a username admin rights.
That is the outcome:
Cannot create WordPress project because error:
Critical error: Cannot execute installation script
Check you project url


Did 2 things changed permisssion of www in var.
Then we changed the installation URl to var/www/html and voila the wordpress instalation
installed just fine.

Now I'm facing the issue that Lampp is in opt and my localhost is fixed to var/www/html.
Any idea how to fix that?

Finally a light at the end of the tunnel.


Top
 Profile  
 
 Post subject: Re: Why is my template not recognizig my scripts?
PostPosted: Wed Apr 17, 2019 8:41 am 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
Hi.

We suppose the following problem on your PC:

You have installed 2 web servers: apache for Ubuntu and LAMPP.
And when apache is running LAMPP server can't start (on 80 port).

So You should decide which server You want to use,
run any simple PHP script (determine what folder corresponds to it),
and only after that try to use some framework wizard of Codelobster.

Regards,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Why is my template not recognizig my scripts?
PostPosted: Fri Apr 19, 2019 1:41 pm 
Offline

Joined: Fri Mar 22, 2019 10:13 pm
Posts: 62
Location: www
Admin Wrote:
Hi.

We suppose the following problem on your PC:

You have installed 2 web servers: apache for Ubuntu and LAMPP.
And when apache is running LAMPP server can't start (on 80 port).


Thx all in all we got phpMyAdmin working.
Uninstalled Lampp and apache works ok
MySql is started, apache is started

Only issue remaining is the preview which gives us a 404
Not Found
The requested URL /index.php was not found on this server.
Apache/2.4.18 (Ubuntu) Server at localhost Port 80

Any idea how to make it work?


Top
 Profile  
 
 Post subject: Re: Why is my template not recognizig my scripts?
PostPosted: Sat Apr 20, 2019 8:22 am 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
Hi.

Where PHPMyAdmin is located?
And what URL it has?

You should place your scripts and projects into the neighboring folder.

Thanks,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Why is my template not recognizig my scripts?
PostPosted: Sun Apr 21, 2019 12:06 pm 
Offline

Joined: Fri Mar 22, 2019 10:13 pm
Posts: 62
Location: www
Admin Wrote:
Hi.

Where PHPMyAdmin is located?
And what URL it has?

You should place your scripts and projects into the neighboring folder.

Thanks,
Codelobster Team.



Hi there
PHPMyAdmin is located in /etc/phpmyadmin and in /usr/share/phpmyadmin
Scripts are in var/www/html

regards


Top
 Profile  
 
 Post subject: Re: Why is my template not recognizig my scripts?
PostPosted: Sun Apr 21, 2019 1:01 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
Hi.

1) You system uses only one PHPMyAdmin.
What URL it has?

2) You get 404 error because your web server doesn't process
/www/html folder.

3) If PHPMyAdmin is located in /etc/phpmyadmin
than You should create a folder /etc/se544/
and it will be accessable by http://localhost/se544/

Thanks,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Why is my template not recognizig my scripts?
PostPosted: Sun Apr 28, 2019 2:26 pm 
Offline

Joined: Fri Mar 22, 2019 10:13 pm
Posts: 62
Location: www
Admin Wrote:
Hi.

1) You system uses only one PHPMyAdmin.
What URL it has?

2) You get 404 error because your web server doesn't process
/www/html folder.

3) If PHPMyAdmin is located in /etc/phpmyadmin
than You should create a folder /etc/se544/
and it will be accessable by http://localhost/se544/

Thanks,
Codelobster Team.



Hi there
1.) http://127.0.0.1/phpmyadmin/ is the address.
PhpMyAdmin is located at /etc/ and the se544 folder was placed there with no different outcome as not found

2.) the /www/html folder is the localhost [127.0.0.1] folder on my toy.

3.) se544 folder was placed there with no different outcome as not found


Top
 Profile  
 
 Post subject: Re: Why is my template not recognizig my scripts?
PostPosted: Sun Apr 28, 2019 2:32 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
Hi.

In this case, the following URL should work: http://127.0.0.1/se544/test.php

Did You create test.php file in "se544" folder?

Thanks,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Why is my template not recognizig my scripts?
PostPosted: Sun Apr 28, 2019 4:15 pm 
Offline

Joined: Fri Mar 22, 2019 10:13 pm
Posts: 62
Location: www
Admin Wrote:
Hi.

In this case, the following URL should work: http://127.0.0.1/se544/test.php

Did You create test.php file in "se544" folder?

Thanks,
Codelobster Team.



I did just now and it works. The test.php I meant.

Thanks for your attention, and on Sunday, rare commitment.


Top
 Profile  
 
 Post subject: Re: Why is my template not recognizig my scripts?
PostPosted: Sat Jun 22, 2019 8:56 am 
Offline

Joined: Tue Sep 04, 2018 8:22 am
Posts: 2
EdwardMac Wrote:
Same thing happened to me when I tried downloading Wordpress. Is there an issue with certain Wordpress versions or something?



I am attempting to design my own wordpress theme, but I'm having issues getting my JavaScript to work, and nothing I have researched seems to have the answer. If anyone can help me out I'd greatly appreciate it!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 41 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 48 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2016 phpBB Group