Jump to content

Recommended Posts

1 minute ago, KawaiiDoggo said:

Only this error ' found, and server-generated directory index forbidden by Options directive ' 

Happy to take a look if you DM Me, but looks like a .htaccess error might be the issue. Try replacing it with the one from the original installation zip.

Also FYI, always make complete backup by creating a Zip of your websites folders before modifying any files.  That way if it breaks, you can easily extract the zip and overwrite the changes back to what "Was" working.

 

Posted (edited)
53 minutes ago, pol73rge1s7 said:

Happy to take a look if you DM Me, but looks like a .htaccess error might be the issue. Try replacing it with the one from the original installation zip.

Also FYI, always make complete backup by creating a Zip of your websites folders before modifying any files.  That way if it breaks, you can easily extract the zip and overwrite the changes back to what "Was" working.

 

I did everything but nothing, I found the problem... For some reason some files from the previous update got stuck in the current one... I used a Backup and everything seems to be fixed.. If I notice something I will contact you! Thanks.

 

It dosnt matter! Even with backup the same issue! 
 

Edited by KawaiiDoggo
  • Mahmoud changed the title to MagicAI v6.5.2 - OpenAI Content, Text, Image, Chat, Code Generator as SaaS

@Mahmoud  In to the MagicAI V.6.5.2, To activate all payment methods on the Finance/payment gateways link, simply place the code below inside the PHP file license.blade.php at the following path:
yourdomain.com/resources/views/default/panel/admin/finance/gateways/particles/license.blade.php

 

<!--<div class="mb-4 w-full rounded-xl bg-red-100 !p-3 text-center text-red-600 dark:bg-orange-600/20 dark:text-orange-200">
    {{ __('To access this page, you should upgrade to Extended License.') }} <a href="{{ route('LaravelInstaller::license.upgrade') }}"><u> {{ __('Upgrade License') }}</u></a>
</div>-->

<div class="grid grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6">
    @foreach ($gateways as $entry)
        <x-card
                class="flex min-h-[250px] w-full flex-col rounded-md px-0 pt-0 text-center"
                class:body="flex flex-col items-center"
                size="sm"
        >
            <div @class([
                            'flex aspect-square w-full justify-center rounded-md mb-2',
                            'bg-[#1a1d23]' => $entry['whiteLogo'] == 1,
                        ])>
                <img
                        class="max-w-32 h-full max-h-32 w-full object-contain object-center"
                        src="{{ url('') . custom_theme_url($entry['img']) }}"
                        alt="{{ $entry['title'] }}"
                />
            </div>
            <h3 class="mb-4 w-full [word-break:break-word]">
                <a
                        href="{{ $entry['link'] }}"
                        target="_blank"
                >
                    {{ $entry['title'] }}
                </a>
            </h3>
            <div class="justify-content-center mt-auto flex w-full">
                @if ($entry['available'] == 1)
                    <x-button
                            class="w-full"
                            href="{{ route('dashboard.admin.finance.paymentGateways.settings', $entry['code']) }}"
                    >
                        {{ __('Settings') }}
                    </x-button>
                @else
                    <h6 class="italic opacity-60">
                        {{ __('Coming soon') }}
                    </h6>
                @endif
            </div>
            @if ($entry['available'] == 1)
                <div @class([
                                'rounded-full absolute start-2 top-2 px-2 py-1 text-white inline-flex items-center gap-1 font-medium',
                                'bg-green-500' => $entry['active'] == 1,
                                'bg-red-500' => $entry['active'] == 0,
                            ])>
                    @if ($entry['active'] == 1)
                        <x-tabler-check class="size-4" />
                    @else
                        <x-tabler-x class="size-4" />
                    @endif
                    {{ $entry['active'] == 1 ? __('Active') : __('Inactive') }}
                </div>
            @endif
        </x-card>
    @endforeach
</div>

  • Love 1
10 hours ago, AlmareNet Gestão e Negocios said:

@Mahmoud  In to the MagicAI V.6.5.2, To activate all payment methods on the Finance/payment gateways link, simply place the code below inside the PHP file license.blade.php at the following path:
yourdomain.com/resources/views/default/panel/admin/finance/gateways/particles/license.blade.php

 

<!--<div class="mb-4 w-full rounded-xl bg-red-100 !p-3 text-center text-red-600 dark:bg-orange-600/20 dark:text-orange-200">
    {{ __('To access this page, you should upgrade to Extended License.') }} <a href="{{ route('LaravelInstaller::license.upgrade') }}"><u> {{ __('Upgrade License') }}</u></a>
</div>-->

<div class="grid grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6">
    @foreach ($gateways as $entry)
        <x-card
                class="flex min-h-[250px] w-full flex-col rounded-md px-0 pt-0 text-center"
                class:body="flex flex-col items-center"
                size="sm"
        >
            <div @class([
                            'flex aspect-square w-full justify-center rounded-md mb-2',
                            'bg-[#1a1d23]' => $entry['whiteLogo'] == 1,
                        ])>
                <img
                        class="max-w-32 h-full max-h-32 w-full object-contain object-center"
                        src="{{ url('') . custom_theme_url($entry['img']) }}"
                        alt="{{ $entry['title'] }}"
                />
            </div>
            <h3 class="mb-4 w-full [word-break:break-word]">
                <a
                        href="{{ $entry['link'] }}"
                        target="_blank"
                >
                    {{ $entry['title'] }}
                </a>
            </h3>
            <div class="justify-content-center mt-auto flex w-full">
                @if ($entry['available'] == 1)
                    <x-button
                            class="w-full"
                            href="{{ route('dashboard.admin.finance.paymentGateways.settings', $entry['code']) }}"
                    >
                        {{ __('Settings') }}
                    </x-button>
                @else
                    <h6 class="italic opacity-60">
                        {{ __('Coming soon') }}
                    </h6>
                @endif
            </div>
            @if ($entry['available'] == 1)
                <div @class([
                                'rounded-full absolute start-2 top-2 px-2 py-1 text-white inline-flex items-center gap-1 font-medium',
                                'bg-green-500' => $entry['active'] == 1,
                                'bg-red-500' => $entry['active'] == 0,
                            ])>
                    @if ($entry['active'] == 1)
                        <x-tabler-check class="size-4" />
                    @else
                        <x-tabler-x class="size-4" />
                    @endif
                    {{ $entry['active'] == 1 ? __('Active') : __('Inactive') }}
                </div>
            @endif
        </x-card>
    @endforeach
</div>

Works totally fine! But be carefull, change the permissions to read only! 

Thanks ❤️ 

image.png.ba0e63b5e21e40b80aadcc56d27af610.png

  • Administrators
10 hours ago, AlmareNet Gestão e Negocios said:

@Mahmoud  In to the MagicAI V.6.5.2, To activate all payment methods on the Finance/payment gateways link, simply place the code below inside the PHP file license.blade.php at the following path:
yourdomain.com/resources/views/default/panel/admin/finance/gateways/particles/license.blade.php

 

<!--<div class="mb-4 w-full rounded-xl bg-red-100 !p-3 text-center text-red-600 dark:bg-orange-600/20 dark:text-orange-200">
    {{ __('To access this page, you should upgrade to Extended License.') }} <a href="{{ route('LaravelInstaller::license.upgrade') }}"><u> {{ __('Upgrade License') }}</u></a>
</div>-->

<div class="grid grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6">
    @foreach ($gateways as $entry)
        <x-card
                class="flex min-h-[250px] w-full flex-col rounded-md px-0 pt-0 text-center"
                class:body="flex flex-col items-center"
                size="sm"
        >
            <div @class([
                            'flex aspect-square w-full justify-center rounded-md mb-2',
                            'bg-[#1a1d23]' => $entry['whiteLogo'] == 1,
                        ])>
                <img
                        class="max-w-32 h-full max-h-32 w-full object-contain object-center"
                        src="{{ url('') . custom_theme_url($entry['img']) }}"
                        alt="{{ $entry['title'] }}"
                />
            </div>
            <h3 class="mb-4 w-full [word-break:break-word]">
                <a
                        href="{{ $entry['link'] }}"
                        target="_blank"
                >
                    {{ $entry['title'] }}
                </a>
            </h3>
            <div class="justify-content-center mt-auto flex w-full">
                @if ($entry['available'] == 1)
                    <x-button
                            class="w-full"
                            href="{{ route('dashboard.admin.finance.paymentGateways.settings', $entry['code']) }}"
                    >
                        {{ __('Settings') }}
                    </x-button>
                @else
                    <h6 class="italic opacity-60">
                        {{ __('Coming soon') }}
                    </h6>
                @endif
            </div>
            @if ($entry['available'] == 1)
                <div @class([
                                'rounded-full absolute start-2 top-2 px-2 py-1 text-white inline-flex items-center gap-1 font-medium',
                                'bg-green-500' => $entry['active'] == 1,
                                'bg-red-500' => $entry['active'] == 0,
                            ])>
                    @if ($entry['active'] == 1)
                        <x-tabler-check class="size-4" />
                    @else
                        <x-tabler-x class="size-4" />
                    @endif
                    {{ $entry['active'] == 1 ? __('Active') : __('Inactive') }}
                </div>
            @endif
        </x-card>
    @endforeach
</div>

This is not true, just follow the activation instructions carefully and all the features of the extended version will work.

Support is available for paid files only
Support for free files is offered for a fee only

On 7/25/2024 at 3:36 PM, pol73rge1s7 said:

I was offering to login and do it for you quickly, but the easy way is to run the following SQL command from phpMyAdmin and it will reset the admin email to admin@admin.com and password to 12345678

UPDATE `users` SET `password` = '$2y$10$XptdAOeFTxl7Yx2KmyfEluWY9Im6wpMIHoJ9V5yB96DgQgTafzzs6', `email` = 'admin@admin.com' WHERE `users`.`id` = 1

 

Thanks it worked, but now i am trying to change admin email and password but this email is freezer cant changed

image.png.f907c356640a931863dcfbd98e628e94.png

Posted (edited)

hello all , how i can update sql table because i've got following error after updating to 6.6:

 

[2024-07-30 15:47:12] production.ERROR: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'no_plan_users' in 'field list' (Connection: mysql, SQL: update `ai_models` set `no_plan_users` = 1, `ai_models`.`updated_at` = 2024-07-30 15:47:12 where `id` = 7) {"userId":1,"exception":"[object] (Illuminate\\Database\\QueryException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'no_plan_users' in 'field list' (Connection: mysql, SQL: update `ai_models` set `no_plan_users` = 1, `ai_models`.`updated_at` = 2024-07-30 15:47:12 where `id` = 7) at /var/www/vhosts/domain.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php:829)
[stacktrace]

 

Edited by Tom Tommy
  • Mahmoud changed the title to MagicAI v6.6.0 - OpenAI Content, Text, Image, Chat, Code Generator as SaaS
  • Mahmoud changed the title to MagicAI v6.6.2 - OpenAI Content, Text, Image, Chat, Code Generator as SaaS

Hello everyone. 

Please tell me how to make a translation of what is not in the languages section. 

And another thing is that when updating, for example, to version 6.6.2, I still have version 6.6.0 written at the bottom, is this normal?

31 minutes ago, kakazzz said:

Hello everyone. 

Please tell me how to make a translation of what is not in the languages section. 

And another thing is that when updating, for example, to version 6.6.2, I still have version 6.6.0 written at the bottom, is this normal?

In your lang add a new string with the exact text in english and then translate it

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • Create New...