Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

General Discussion

Topic Free discussion area
10,622 posts | Last Activity on 08-11-2019 13:55 by Falk
Falk
Falk 08-11-2019 13:55, 4 days ago
Re: What's happened to the v7x forum? Since 8 is fully compatible with 7. Higher PHP Versions on hosts was the biggest issue so we simply deny support on 7 installs and recommend 8 or 9 while all the old 7 forums has been renamed to 8, simply due to the fact that most still will be valid for 8. So all the old content is intact and still fully accessable.

It can clearly be seen under https://www.php-fusion.co.uk/infusion...d_id=33294 as it is the old established universal method of upgrading older 7 installs to latest 7.
Kamillo
Kamillo 08-11-2019 13:14, 4 days ago
Re: What's happened to the v7x forum?

Quote

v7 is no longer supported. If you upgrade to 8 or 9 you can use correct version´s Upgrade forums for any questions.


Falk, please consider leaving the V7 forums read only (if not yet deleted), as many problems are solved there, concerning v8 as well. We did the same with v6 forums at Polish Support - is locked for posting, but issues can be found and some apply also for higher version.
Anyway we used also this forums as support in some questions that were solved here, but not at national support. If you do not want to be awailable to everyone, maybe set limit to some higher rank members with post counts.
Oleg
Oleg 07-11-2019 17:40, 5 days ago
Re: Problems With contact.php file I do not see viruses. Everything is in order with the contents. Try changing the password for FTP and, as I have already advised, protect access to the administrator part using the .htaccess file
afoster
afoster 07-11-2019 15:30, 5 days ago
Re: Problems With contact.php file Here is the content for the contact.php file

Code

/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) PHP-Fusion Inc
| https://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: contact.php
| Author: PHP-Fusion Development Team
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
require_once __DIR__."/maincore.php";
require_once THEMES."templates/header.php";
include LOCALE.LOCALESET."contact.php";

add_to_title($locale['global_200'].$locale['400']);

if (isset($_POST['sendmessage'])) {
 $error = "";
 $mailname = isset($_POST['mailname']) ? substr(stripinput(trim($_POST['mailname'])), 0, 50) : "";
 $email = isset($_POST['email']) ? substr(stripinput(trim($_POST['email'])), 0, 100) : "";
 $subject = isset($_POST['subject']) ? substr(str_replace(["\r", "\n", "@"], "", descript(stripslash(trim($_POST['subject'])))), 0, 50) : "";
 $message = isset($_POST['message']) ? descript(stripslash(trim($_POST['message']))) : "";
 if ($mailname == "") {
 $error .= " ".$locale['420']."
\n";
 }
 if ($email == "" || !preg_match("/^[-0-9A-Z_\.]{1,50}@([-0-9A-Z_\.]+\.){1,50}([0-9A-Z]){2,4}$/i", $email)) {
 $error .= " ".$locale['421']."
\n";
 }
 if ($subject == "") {
 $error .= " ".$locale['422']."
\n";
 }
 if ($message == "") {
 $error .= " ".$locale['423']."
\n";
 }

 if (!iADMIN) {
 $_CAPTCHA_IS_VALID = FALSE;
 include INCLUDES."captchas/".$settings['captcha']."/captcha_check.php";
 if ($_CAPTCHA_IS_VALID == FALSE) {
 $error .= " ".$locale['424']."
\n";
 }
 }

 if (!$error) {
 require_once INCLUDES."sendmail_include.php";
 $template_result = dbquery("
 SELECT template_key, template_active, template_sender_name, template_sender_email
 FROM ".DB_EMAIL_TEMPLATES."
 WHERE template_key='CONTACT'
 LIMIT 1");
 if (dbrows($template_result)) {
 $template_data = dbarray($template_result);
 if ($template_data['template_active'] == "1") {
 if (!sendemail_template("CONTACT", $subject, $message, "", $template_data['template_sender_name'], "", $template_data['template_sender_email'], $mailname, $email)) {
 $error .= " ".$locale['425']."
\n";
 }
 } else {
 if (!sendemail($settings['siteusername'], $settings['siteemail'], $mailname, $email, $subject, $message)) {
 $error .= " ".$locale['425']."
\n";
 }
 }
 } else {
 if (!sendemail($settings['siteusername'], $settings['siteemail'], $mailname, $email, $subject, $message)) {
 $error .= " ".$locale['425']."
\n";
 }
 }
 }
 if ($error) {
 opentable($locale['400']);
 echo "

\n".$locale['442']."

\n".$error."
\n".$locale['443']."

\n";
 closetable();
 } else {
 opentable($locale['400']);
 echo "

\n".$locale['440']."

\n".$locale['441']."

\n";
 closetable();
 }
} else {
 opentable($locale['400']);
 echo $locale['401']."

\n";
 echo "
\n";
 echo "\n\n";
 echo "\n";
 echo "\n";
 echo "\n\n";
 echo "\n";
 echo "\n";
 echo "\n\n";
 echo "\n";
 echo "\n";
 echo "\n\n";
 echo "\n";
 echo "\n";
 echo "";

 if (!iADMIN) {
 echo "\n";
 echo "\n";
 echo "\n\n";
 echo "\n";
 echo "\n";
 }

 echo "\n";
 echo "\n";
 echo "\n
".$locale['402']."
".$locale['403']."
".$locale['404']."
".$locale['405']."
".$locale['407']."";
 include INCLUDES."captchas/".$settings['captcha']."/captcha_display.php";
 if (!isset($_CAPTCHA_HIDE_INPUT) || (isset($_CAPTCHA_HIDE_INPUT) && !$_CAPTCHA_HIDE_INPUT)) {
 echo "
";
 echo "";
 }
 echo "
\n";
 echo "
\n
\n";
 closetable();
}

require_once THEMES."templates/footer.php";

Oleg
Oleg 06-11-2019 18:49, 6 days ago
Re: Problems With contact.php file Attach the contents of your contact.php file here
afoster
afoster 06-11-2019 15:26, 6 days ago
Re: Problems With contact.php file I was told that the contact.php form is being used to send spam emails...I'm not receiving spam.
Oleg
Oleg 05-11-2019 11:20, 7 days ago
Re: Problems With contact.php file The administrator password can be changed in your profile. To protect the administrative part, in my opinion, it is better to add the .htaccess file to the folder "administration".

Code

Order Deny,Allow
deny from all
allow from 111.111.111.111



Instead of the numbers 111.111.111.111, add your ip address through which you go to the admin part.

But in order to prevent spam from coming to your mail, try this:

contact.php
Code
echo "\n";


Replace:
Code
echo ">\n";



includes/sendmail_include.php
Code
$mail->addReplyTo($fromemail, $fromname);


Add after line:
Code
if ($_POST['check'] != 'stopSpam') exit('Spam decected');

afoster
afoster 04-11-2019 22:05, 8 days ago
Re: Problems With contact.php file I received an email from my webhost telling that they have it on good authority that the contact.php file in my php-fusion site is sending out spam emails and have asked me to change my FTP and web account password. I am running version 8.00.21 and have no idea what could be triggering the spam email. I have not changed the contact.php file that came with the download. At the moment, I have made the site unaccessible until I can figure out what is going on. I would also like to know how to reset admin password in this version.

Any assistance/suggestions would be much appreciated.
N
Neil-R 02-11-2019 11:09, 10 days ago
Re: What's happened to the v7x forum? Falk - thank you for this, but I already have these docs and still the same problems.

Chan (below) had suggested I try upgrading via a different method so will give this a go and see how it goes. Many thanks all the same.

Neil
Chan
Chan 01-11-2019 07:46, 11 days ago
Re: What's happened to the v7x forum? Have you tried upgrading to v7 to v8 / v9 ?

By upgrading, go to PHPMyAdmin, use the Yoda method. Replicate a new database and upgrade on that instead of the original one.

Files:
1. Copy old files to new one.
2. Replace v8/v9 files into the new one.
3. Upgrade from this new directory.

Database:
1. Click on left side the main database. You will see a full list of tables in the database.
2. Click on Operations Tab. Go to Copy Database section (Screenshot provided), enter your new Database name. Click Go. You will have a new Database.
3. Go to config.php, change $db to the newly database. "backup_2019_1" for my case.
4. Upgrade on this database.

Switching over and upgrade.
1. Go to settings table, enter your new url manually.
2. Now do the upgrade process.

The advantage of this is you can fix, break, drop, start over with all old files intact.
Falk
Falk 31-10-2019 19:32, 12 days ago
Re: What's happened to the v7x forum? Forum and Search here still need some tuning so it will be easier to browse and search the threads.

You can see the guide for your upgrade : https://www.php-fusion.co.uk/infusion...d_id=33294
And also this if you have problems with to high PHP versions : https://www.php-fusion.co.uk/infusion...ost_206359
This will help you to detect issues if you experience white screen and no errors : https://www.php-fusion.co.uk/infusion...d_id=39622
N
Neil-R 31-10-2019 10:29, 12 days ago
Re: What's happened to the v7x forum?

Quote

v7 is no longer supported. If you upgrade to 8 or 9 you can use correct version´s Upgrade forums for any questions.


But this is the problem. There are problems with the upgrade process from v7.01.xx to v7.02.07. To date I have been stopped in my tracks by the 'white screen' following upgrading (as reported by a number of other users), and have rolled it back by completely removig and restoring the site and DB from the original backup. Only prior to posting this, I've been successful in avoiding the 'white screen' result, only to find that it was impossible to log into the admin system - username/password not recognised. I do recal reading of others experiencing this problem in the old v7 forum.

So what can be done in order to upgrade? Is it possible to install a fress v8 or v9 and import the data from the v7 site?

I expect to have more questions on this and therefore my reason to seek a relavent place to post these. Where do I go next?

Many thanks for all hlpful suggestions.

Neil
Falk
Falk 29-10-2019 06:24, 14 days ago
Re: What's happened to the v7x forum? v7 is no longer supported. If you upgrade to 8 or 9 you can use correct version´s Upgrade forums for any questions.
N
Neil-R 28-10-2019 15:32, 15 days ago
Re: What's happened to the v7x forum? What's happened to the v7x forum. Or where do we post questions relating to v7x upgrading?

Many thanks,

Neil
Chan
Chan 28-10-2019 02:23, 15 days ago
Re: PHPFusion Wiki Closed for Upgrade Dear all,

Please be notified that our Wiki will be closed temporarily pending upgrade release. It is in our plan to have the new wiki will have a new outlook and facilitate better content to the community. In our estimate, the wiki will take up to 2 weeks to develop if everything follows our scheduled plan.

Thank you.
QRob001
QRob001 18-10-2019 20:45, 25 days ago
Re: Inventory How hard would it be to use this for inventory control and ordering? I've been tasked with inventory at work. They will supply me with SQL servers and database but I need to find a interface for it.

I have used this in the past for gaming forums and once tried to make a online store. If this can be done the company I work for (keeping it secret atm) will be glad to buy the corporate licence.

I don't know anything about SQL programming that's why I'm looking for something like this.
SkeeredOfMyMind
Re: Disabling TinyMCE Editor in Admin Panel or Banners only? Is it possible to disable TinyMCE in just the Admin Panel or in the Banners section of the Admin Panel so I can use the following script or how can I use the following script with TinyMCE enabled? Here is the code I am trying to use for a Drop Down Menu since none of the Drop Down Menus here work with PHP-Fusion 9:


Grimloch
Grimloch 11-10-2019 03:46, 1 month ago
Re: Avatar Studio v2.03 Updated Actually no; that takes me to my AV Studio for PF 9.03 NOT AV Studio for 7 & 8. I don't know maybe there isn't a support forum entry for my first upload of Avatar Studio.
Falk
Falk 10-10-2019 20:44, 1 month ago
Re: Avatar Studio v2.03 Updated https://www.php-fusion.co.uk/infusion...d_id=39649

You can click Support from from the MP , https://www.php-fusion.co.uk/infusion...hp?id=1083
Grimloch
Grimloch 10-10-2019 16:26, 1 month ago
Re: Avatar Studio v2.03 Updated For some reason I could not find the original support thread for my Avatar Studio v2.03 infusion. After receiving a support request from a user I updated my infusion. It should no longer generate any errors in PHP-Fusion versions 7 and 8.
cool
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.