Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] iframe cannot run php file #3402

Closed
anankuntakamdev opened this issue Feb 12, 2021 · 47 comments
Closed

[BUG] iframe cannot run php file #3402

anankuntakamdev opened this issue Feb 12, 2021 · 47 comments

Comments

@anankuntakamdev
Copy link

anankuntakamdev commented Feb 12, 2021

iframe cannot run php file
https://user-images.githubusercontent.com/67751564/107729802-72f76c00-6d24-11eb-99e2-d4b31b05218b.mp4
Please help me :(

@danny007in

This comment has been minimized.

@danny007in

This comment has been minimized.

@anankuntakamdev
Copy link
Author

This is my index.php file
index.txt

This is my repair.php file
repair.txt

@danny007in

This comment has been minimized.

@anankuntakamdev

This comment has been minimized.

@REJack
Copy link
Collaborator

REJack commented Feb 17, 2021

Should be fixed with 8ed2712.

@REJack REJack added this to the v3.1.0 milestone Feb 17, 2021
@REJack
Copy link
Collaborator

REJack commented Feb 17, 2021

It would be great if you can test it, but you need to compile the dist files after pull/download.

@danny007in
Copy link
Collaborator

not working properly

@REJack
Copy link
Collaborator

REJack commented Feb 17, 2021

I had no problem, but did you get a error?

@danny007in

This comment has been minimized.

@REJack
Copy link
Collaborator

REJack commented Feb 17, 2021

Thats caused that you not run a php server and it delivers the php file instead of display it

@danny007in
Copy link
Collaborator

Thats caused that you not run a php server and it delivers the php file instead of display it

After urs suggestion its working

@muhanadali100
Copy link

same proplem with latest update

@danny007in
Copy link
Collaborator

same proplem with latest update

wait for next release or compile https://github.com/ColorlibHQ/AdminLTE#compile-dist-files

@danny007in danny007in reopened this Feb 19, 2021
@muhanadali100
Copy link

53
as resource is missing

@danny007in

This comment has been minimized.

@muhanadali100

This comment has been minimized.

@navtek
Copy link

navtek commented Feb 21, 2021

You can ignore that warning, if you want to get rid of it you have two options,

  1. Go to the bottom of the adminlte.min.css file and delete /*# sourceMappingURL=adminlte.min.css.map */ or
  2. If you prefer, copy the .map file from the dist folder and paste where you have the adminlte.min.css file.

Now, from what I saw in the other issue you opened, it seems that you are importing the demo.js file, this is not recommended as it's only for demonstration purposes of what AdminLTE offers. Having this import could be causing problems as it tries to wire several things and it will error if you don't have all the plugins it's trying to setup. I would recommend that you remove the demo.js file from your application and try again.

@danny007in
Copy link
Collaborator

danny007in commented Feb 21, 2021

same proplem not working

WARNING: Ignoring local source map at "C:\Users\Muhannad\Downloads\Compressed\AdminLTE-master_3\AdminLTE-master\dist\css" as resource is missing.

Another method, follow steps carefully

  • upgrade to nodejs 14
  • Download from master branch
  • extract to another folder
  • don not delete package-lock.json
  • delete node_modules
  • npm ci

@muhanadali100
Copy link

same proplem not working
WARNING: Ignoring local source map at "C:\Users\Muhannad\Downloads\Compressed\AdminLTE-master_3\AdminLTE-master\dist\css" as resource is missing.

Another method, follow steps carefully

* upgrade to nodejs 14

* Download from master branch

* extract to another folder

* don not delete package-lock.json

* delete node_modules

* `npm ci`

not working same proplem

@muhanadali100
Copy link

You can ignore that warning, if you want to get rid of it you have two options,

1. Go to the bottom of the adminlte.min.css file and delete `/*# sourceMappingURL=adminlte.min.css.map */` or

2. If you prefer, copy the .map file from the dist folder and paste where you have the adminlte.min.css file.

Now, from what I saw in the other issue you opened, it seems that you are importing the demo.js file, this is not recommended as it's only for demonstration purposes of what AdminLTE offers. Having this import could be causing problems as it tries to wire several things and it will error if you don't have all the plugins it's trying to setup. I would recommend that you remove the demo.js file from your application and try again.

you mean this ?

<script src="dist/js/demo.js"></script> <script src="dist/js/pages/dashboard.js"></script>

@navtek
Copy link

navtek commented Feb 26, 2021

You can ignore that warning, if you want to get rid of it you have two options,

1. Go to the bottom of the adminlte.min.css file and delete `/*# sourceMappingURL=adminlte.min.css.map */` or

2. If you prefer, copy the .map file from the dist folder and paste where you have the adminlte.min.css file.

Now, from what I saw in the other issue you opened, it seems that you are importing the demo.js file, this is not recommended as it's only for demonstration purposes of what AdminLTE offers. Having this import could be causing problems as it tries to wire several things and it will error if you don't have all the plugins it's trying to setup. I would recommend that you remove the demo.js file from your application and try again.

you mean this ?

<script src="dist/js/demo.js"></script> <script src="dist/js/pages/dashboard.js"></script>

Yes, remove those two script tags and try again, make sure you have jQuery as the first script tag

@danny007in
Copy link
Collaborator

@muhanadali100
Copy link

@muhanadali100 add jquery in header or https://stackoverflow.com/questions/2105327/should-jquery-code-go-in-header-or-footer

i did but iframe don't working with php

@danny007in
Copy link
Collaborator

@muhanadali100 did u compiled files

@danny007in
Copy link
Collaborator

whats the error on console in inspect element https://developers.google.com/web/tools/chrome-devtools/console

@muhanadali100
Copy link

You can ignore that warning, if you want to get rid of it you have two options,

1. Go to the bottom of the adminlte.min.css file and delete `/*# sourceMappingURL=adminlte.min.css.map */` or

2. If you prefer, copy the .map file from the dist folder and paste where you have the adminlte.min.css file.

Now, from what I saw in the other issue you opened, it seems that you are importing the demo.js file, this is not recommended as it's only for demonstration purposes of what AdminLTE offers. Having this import could be causing problems as it tries to wire several things and it will error if you don't have all the plugins it's trying to setup. I would recommend that you remove the demo.js file from your application and try again.

the 2 option not working same proplem

@muhanadali100
Copy link

@muhanadali100 did u compiled files

No i can't because the proplem don't fixed

@REJack
Copy link
Collaborator

REJack commented Mar 1, 2021

If you don’t recompile the dist files you can’t know that’s not working.

@muhanadali100
Copy link

If you don’t recompile the dist files you can’t know that’s not working.

the compile not working what i can do ??

@danny007in
Copy link
Collaborator

If you don’t recompile the dist files you can’t know that’s not working.

the compile not working what i can do ??

take help of urs seniors

@zachiler
Copy link

zachiler commented Mar 4, 2021

iframe-mode loads PHP files successfully. Tested myself with same code that failed before latest update.

I'm extremely new to Git, GitHub, and community development overall so this took me a day or so to figure out how to properly install, fork, compile, and test. I hope this helps.

@muhanadali100
Copy link

Screenshot_2021-03-05 Radius Manager - Administration Control Panel

the latest update it's running successfully, but why the theme of close(x) not like the html version

@zachiler
Copy link

zachiler commented Mar 4, 2021

I'm not seeing that in mine. Can you provide a link to reference and I'll try to help.

@zachiler
Copy link

zachiler commented Mar 5, 2021

@muhanadali100 I see what you mean now. This is where the X is located for me and it turns blue when I hover over it.
image

@REJack

This comment has been minimized.

@danny007in

This comment has been minimized.

@muhanadali100
Copy link

@muhanadali100 I see what you mean now. This is where the X is located for me and it turns blue when I hover over it.
image

in html yes , but in php proplem

@muhanadali100

This comment has been minimized.

@muhanadali100

This comment has been minimized.

@REJack

This comment has been minimized.

@zachiler

This comment has been minimized.

@zachiler
Copy link

Tested and confirmed this issue and the above mobile view issue is resolved as of #3496.

@REJack REJack closed this as completed Mar 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants